From: gdt Date: Thu, 26 Aug 2004 14:14:43 +0000 (+0000) Subject: add () on SOPT_SIZE_CMSG_PKTINFO_IPV4() use, to match def. X-Git-Tag: frr-2.0-rc1~3605 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=fd73aa9e484f5c54c190b0c25b07294ce4ff168a;p=mirror%2Ffrr.git add () on SOPT_SIZE_CMSG_PKTINFO_IPV4() use, to match def. Thanks to Hasso for code review. --- diff --git a/lib/sockopt.h b/lib/sockopt.h index cd79718279..8d775cdc5b 100644 --- a/lib/sockopt.h +++ b/lib/sockopt.h @@ -53,7 +53,7 @@ int setsockopt_ipv6_multicast_loop (int, int); ((af == AF_INET) ? SOPT_SIZE_CMSG_PKTINFO_IPV4() \ : SOPT_SIZE_CMSG_PKTINFO_IPV6() -#define SOPT_SIZE_CMSG_IFINDEX_IPV4() SOPT_SIZE_CMSG_PKTINFO_IPV4 +#define SOPT_SIZE_CMSG_IFINDEX_IPV4() SOPT_SIZE_CMSG_PKTINFO_IPV4() #elif defined (IP_RECVIF) /* BSD/Solaris. Arguably these should say RECVIF rather than IFINDEX. */