summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
authorpaul <paul>2003-06-07 00:12:15 +0000
committerpaul <paul>2003-06-07 00:12:15 +0000
commit1a691cc34733f1a14cfc2dc1cacd1d3376d771cb (patch)
treedbf09f61ff869e683ef732fc5fecf0390bba94b8 /zebra
parent0c0f9cd54b1ade198a0b92fc48844710e2a89f94 (diff)
2003-06-07 Paul Jakma <paul@dishone.st>
* (zebra/rtadvc.): can not set checksum for ICMPV6, see: From: Jun-ichiro itojun Hagino <itojun@iijlab.net> Subject: [zebra 11052] setsockopt(IPV6_CHECKSUM) does not work for ICMPv6 socket setsockopt(IPV6_CHECKSUM) does not work for ICMPv6 socket. RFC2292 may not be clear enough about it (it talks about raw socket and ICMPv6 socket mixed up), but the next revision (draft-ietf-ipngwg-rfc2292bis-02.txt) is very clear about it. > An attempt to set IPV6_CHECKSUM for an ICMPv6 socket will fail.
Diffstat (limited to 'zebra')
-rw-r--r--zebra/rtadv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index 9dcee8ea..ab0d49f0 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -430,9 +430,6 @@ rtadv_make_socket (void)
ret = setsockopt_ipv6_pktinfo (sock, 1);
if (ret < 0)
return ret;
- ret = setsockopt_ipv6_checksum (sock, 2);
- if (ret < 0)
- return ret;
ret = setsockopt_ipv6_multicast_loop (sock, 0);
if (ret < 0)
return ret;