From: Roland McGrath Date: Thu, 1 Nov 2007 21:37:33 +0000 (+0000) Subject: 2007-11-01 Roland McGrath X-Git-Tag: v4.5.18~124 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c294b8f411e25097f80280fbb924bc031becc181;p=strace 2007-11-01 Roland McGrath * net.c (sockpacketoptions): Make PACKET_ADD_MEMBERSHIP and PACKET_DROP_MEMBERSHIP conditional. From Bernhard Fischer . --- diff --git a/net.c b/net.c index 39100239..a0ae6b94 100644 --- a/net.c +++ b/net.c @@ -803,8 +803,12 @@ static const struct xlat sockrawoptions[] = { #ifdef SOL_PACKET static const struct xlat sockpacketoptions[] = { +#ifdef PACKET_ADD_MEMBERSHIP { PACKET_ADD_MEMBERSHIP, "PACKET_ADD_MEMBERSHIP" }, +#endif +#ifdef PACKET_DROP_MEMBERSHIP { PACKET_DROP_MEMBERSHIP, "PACKET_DROP_MEMBERSHIP"}, +#endif #if defined(PACKET_RECV_OUTPUT) { PACKET_RECV_OUTPUT, "PACKET_RECV_OUTPUT" }, #endif