Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276243
b: refs/heads/master
c: 2a38e6d
h: refs/heads/master
i:
  276241: 304b4ff
  276239: 613eca0
v: v3
  • Loading branch information
Li Wei authored and David S. Miller committed Nov 28, 2011
1 parent af99e84 commit bceb561
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5cac98dd06bc43a7baab3523184f70fd359e9f35
refs/heads/master: 2a38e6d5aed24bb7f0211e0819fac8c32c2b5791
2 changes: 1 addition & 1 deletion trunk/net/ipv6/ipv6_sockglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ static int do_ipv6_setsockopt(struct sock *sk, int level, int optname,
goto e_inval;
if (val > 255 || val < -1)
goto e_inval;
np->mcast_hops = val;
np->mcast_hops = (val == -1 ? IPV6_DEFAULT_MCASTHOPS : val);
retv = 0;
break;

Expand Down

0 comments on commit bceb561

Please sign in to comment.