forked from Mirror/frr
*: 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>
This commit is contained in:
parent
66434fc2ee
commit
f7fd861fda
|
@ -18,22 +18,6 @@ extern struct event_loop *master;
|
||||||
/* OSPF config processing timer thread */
|
/* OSPF config processing timer thread */
|
||||||
extern struct event *t_ospf6_cfg;
|
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_OK 0
|
||||||
#define MSG_NG 1
|
#define MSG_NG 1
|
||||||
|
|
||||||
|
|
|
@ -26,14 +26,6 @@
|
||||||
#include "ripngd/ripngd.h"
|
#include "ripngd/ripngd.h"
|
||||||
#include "ripngd/ripng_debug.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");
|
DEFINE_MTYPE_STATIC(RIPNGD, RIPNG_IF, "ripng interface");
|
||||||
|
|
||||||
/* Static utility function. */
|
/* Static utility function. */
|
||||||
|
|
|
@ -47,14 +47,6 @@ DEFINE_MTYPE_STATIC(ZEBRA, ADV_IF, "Advertised Interface");
|
||||||
#include <netinet/icmp6.h>
|
#include <netinet/icmp6.h>
|
||||||
#endif
|
#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 ALLNODE "ff02::1"
|
||||||
#define ALLROUTER "ff02::2"
|
#define ALLROUTER "ff02::2"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue