diff options
author | Brian Haley | 2007-10-11 14:39:29 -0700 |
---|---|---|
committer | David S. Miller | 2007-10-11 14:39:29 -0700 |
commit | 4953f0fcc06a125f87874743d968c0e185c8b296 (patch) | |
tree | f35705517e8f907e5c777c55d5a41c80d3f0e959 /net/ipv4 | |
parent | 73aaf9355b71d295fd72dc0b93fcdd275c56648f (diff) |
[IPv6]: Update setsockopt(IPV6_MULTICAST_IF) to support RFC 3493, try2
From RFC 3493, Section 5.2:
IPV6_MULTICAST_IF
Set the interface to use for outgoing multicast packets. The
argument is the index of the interface to use. If the
interface index is specified as zero, the system selects the
interface (for example, by looking up the address in a routing
table and using the resulting interface).
This patch adds support for (index == 0) to reset the value to it's
original state, allowing the system to choose the best interface. IPv4
already behaves this way.
Signed-off-by: Brian Haley <brian.haley@hp.com>
Acked-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions