diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2025-02-20 16:16:35 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2025-02-20 16:16:35 -0500 | 
| commit | f7fd861fdad5045b02efabb2283ea99249af8d5a (patch) | |
| tree | 7498def70d0f5f5b053e97618ee845c064a1e2d4 | |
| parent | 66434fc2eea13c83b60f46212e85d33d03ec9c3d (diff) | |
*: Remove unneeded IPV6_JOIN|LEAVE_GROUP
Headers include this stuff now.  No need for it
in our code base.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
| -rw-r--r-- | ospf6d/ospf6d.h | 16 | ||||
| -rw-r--r-- | ripngd/ripng_interface.c | 8 | ||||
| -rw-r--r-- | zebra/rtadv.c | 8 | 
3 files changed, 0 insertions, 32 deletions
diff --git a/ospf6d/ospf6d.h b/ospf6d/ospf6d.h index c927ee7566..8ae7052840 100644 --- a/ospf6d/ospf6d.h +++ b/ospf6d/ospf6d.h @@ -18,22 +18,6 @@ extern struct event_loop *master;  /* OSPF config processing timer thread */  extern struct event *t_ospf6_cfg; -/* Historical for KAME.  */ -#ifndef IPV6_JOIN_GROUP -#ifdef IPV6_ADD_MEMBERSHIP -#define IPV6_JOIN_GROUP IPV6_ADD_MEMBERSHIP -#endif /* IPV6_ADD_MEMBERSHIP. */ -#ifdef IPV6_JOIN_MEMBERSHIP -#define IPV6_JOIN_GROUP  IPV6_JOIN_MEMBERSHIP -#endif /* IPV6_JOIN_MEMBERSHIP. */ -#endif /* ! IPV6_JOIN_GROUP*/ - -#ifndef IPV6_LEAVE_GROUP -#ifdef IPV6_DROP_MEMBERSHIP -#define IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP -#endif /* IPV6_DROP_MEMBERSHIP */ -#endif /* ! IPV6_LEAVE_GROUP */ -  #define MSG_OK    0  #define MSG_NG    1 diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c index 9ef9f89005..2b5d745bf4 100644 --- a/ripngd/ripng_interface.c +++ b/ripngd/ripng_interface.c @@ -26,14 +26,6 @@  #include "ripngd/ripngd.h"  #include "ripngd/ripng_debug.h" -/* If RFC2133 definition is used. */ -#ifndef IPV6_JOIN_GROUP -#define IPV6_JOIN_GROUP  IPV6_ADD_MEMBERSHIP -#endif -#ifndef IPV6_LEAVE_GROUP -#define IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP -#endif -  DEFINE_MTYPE_STATIC(RIPNGD, RIPNG_IF, "ripng interface");  /* Static utility function. */ diff --git a/zebra/rtadv.c b/zebra/rtadv.c index 8f6713517d..2641831bcd 100644 --- a/zebra/rtadv.c +++ b/zebra/rtadv.c @@ -47,14 +47,6 @@ DEFINE_MTYPE_STATIC(ZEBRA, ADV_IF, "Advertised Interface");  #include <netinet/icmp6.h>  #endif -/* If RFC2133 definition is used. */ -#ifndef IPV6_JOIN_GROUP -#define IPV6_JOIN_GROUP  IPV6_ADD_MEMBERSHIP -#endif -#ifndef IPV6_LEAVE_GROUP -#define IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP -#endif -  #define ALLNODE   "ff02::1"  #define ALLROUTER "ff02::2"  | 
