ipv6: Fix default multicast hops setting.
authorDavid S. Miller <davem@davemloft.net>
Tue, 4 May 2010 06:42:27 +0000 (23:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 May 2010 06:42:27 +0000 (23:42 -0700)
commitf935aa9e99d6ec74a50871c120e6b21de7256efb
tree556229f3c69b2cc01f954266c286e7721d19276f
parent1827d2e943eeb5cba0662f3e6edc342d6bd65ae6
ipv6: Fix default multicast hops setting.

As per RFC 3493 the default multicast hops setting
for a socket should be "1" just like ipv4.

Ironically we have a IPV6_DEFAULT_MCASTHOPS macro
it just wasn't being used.

Reported-by: Elliot Hughes <enh@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/af_inet6.c