mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 16:04:49 +00:00
add () on SOPT_SIZE_CMSG_PKTINFO_IPV4() use, to match def.
Thanks to Hasso for code review.
This commit is contained in:
parent
a5ea687e01
commit
fd73aa9e48
@ -53,7 +53,7 @@ int setsockopt_ipv6_multicast_loop (int, int);
|
|||||||
((af == AF_INET) ? SOPT_SIZE_CMSG_PKTINFO_IPV4() \
|
((af == AF_INET) ? SOPT_SIZE_CMSG_PKTINFO_IPV4() \
|
||||||
: SOPT_SIZE_CMSG_PKTINFO_IPV6()
|
: 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)
|
#elif defined (IP_RECVIF)
|
||||||
/* BSD/Solaris. Arguably these should say RECVIF rather than IFINDEX. */
|
/* BSD/Solaris. Arguably these should say RECVIF rather than IFINDEX. */
|
||||||
|
Loading…
Reference in New Issue
Block a user