summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_network.c
diff options
context:
space:
mode:
authorhasso <hasso>2003-05-25 21:39:29 +0000
committerhasso <hasso>2003-05-25 21:39:29 +0000
commite26bbebaddd76e2002df675d76531c5ce851a4b0 (patch)
tree8f7a94dce532e299e4ec018e57975996f6943892 /ospf6d/ospf6_network.c
parent595db7f16506d2c82a3478e9f8dab00c8733d386 (diff)
ospf6d part of 6Wind patch.
Diffstat (limited to 'ospf6d/ospf6_network.c')
-rw-r--r--ospf6d/ospf6_network.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ospf6d/ospf6_network.c b/ospf6d/ospf6_network.c
index 041d829b..e90614e5 100644
--- a/ospf6d/ospf6_network.c
+++ b/ospf6d/ospf6_network.c
@@ -255,10 +255,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
@@ -275,10 +273,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
@@ -294,10 +290,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 */
@@ -340,7 +334,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));