diff options
author | paul <paul> | 2003-05-26 00:25:34 +0000 |
---|---|---|
committer | paul <paul> | 2003-05-26 00:25:34 +0000 |
commit | a2642228fa2f7f4a287d05f17e09fb63953a05aa (patch) | |
tree | 13005197447156ad362f5138726f8433324055a6 /ospf6d/ospf6_network.c | |
parent | ff8c45e1d68d32731f78f9b814ccfec976165a6c (diff) | |
download | quagga-a2642228fa2f7f4a287d05f17e09fb63953a05aa.tar.bz2 quagga-a2642228fa2f7f4a287d05f17e09fb63953a05aa.tar.xz |
Merge HEAD to zprivs
Diffstat (limited to 'ospf6d/ospf6_network.c')
-rw-r--r-- | ospf6d/ospf6_network.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ospf6d/ospf6_network.c b/ospf6d/ospf6_network.c index 9b98f808..ece34135 100644 --- a/ospf6d/ospf6_network.c +++ b/ospf6d/ospf6_network.c @@ -264,10 +264,8 @@ ospf6_leave_allspfrouters (u_int ifindex) &mreq6, sizeof (mreq6)) < 0) zlog_warn ("Network: Leave AllSPFRouters on ifindex %d Failed: %s", ifindex, strerror (errno)); -#if 0 else zlog_info ("Network: Leave AllSPFRouters on ifindex %d", ifindex); -#endif } void @@ -284,10 +282,8 @@ ospf6_join_alldrouters (u_int ifindex) &mreq6, sizeof (mreq6)) < 0) zlog_warn ("Network: Join AllDRouters on ifindex %d Failed: %s", ifindex, strerror (errno)); -#if 0 else zlog_info ("Network: Join AllDRouters on ifindex %d", ifindex); -#endif } void @@ -303,10 +299,8 @@ ospf6_leave_alldrouters (u_int ifindex) if (setsockopt (ospf6_sock, IPPROTO_IPV6, IPV6_LEAVE_GROUP, &mreq6, sizeof (mreq6)) < 0) zlog_warn ("Network: Leave AllDRouters on ifindex %d Failed", ifindex); -#if 0 else zlog_info ("Network: Leave AllDRouters on ifindex %d", ifindex); -#endif } /* setsockopt ReUseAddr to on */ @@ -349,7 +343,7 @@ void ospf6_set_checksum () { int offset = 12; -#ifndef DISABLE_IPV6_CHECKSUM +#if !defined(DISABLE_IPV6_CHECKSUM) if (setsockopt (ospf6_sock, IPPROTO_IPV6, IPV6_CHECKSUM, &offset, sizeof (offset)) < 0) zlog_warn ("Network: set IPV6_CHECKSUM failed: %s", strerror (errno)); |