]> git.puffer.fish Git - matthieu/frr.git/commitdiff
*: Remove unneeded IPV6_JOIN|LEAVE_GROUP
authorDonald Sharp <sharpd@nvidia.com>
Thu, 20 Feb 2025 21:16:35 +0000 (16:16 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 20 Feb 2025 21:16:35 +0000 (16:16 -0500)
Headers include this stuff now.  No need for it
in our code base.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
ospf6d/ospf6d.h
ripngd/ripng_interface.c
zebra/rtadv.c

index c927ee7566f1d9b688c4d00f67d96d3872f284a7..8ae7052840e2952624d0c0cff6e25386401c3794 100644 (file)
@@ -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
 
index 9ef9f89005ec611c05cd884d67dbcff8519d3218..2b5d745bf49e065dd0467bf0ed809c29db77480f 100644 (file)
 #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. */
index 8f6713517d35472418cdb6fb7dc749f22d50f2e1..2641831bcd4a8c1e819422fc33eae385ddf9f04b 100644 (file)
@@ -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"