mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-03 04:28:24 +00:00
lib: fix omission in the previous commit to lib/sockopt.c
* sockopt.c (setsockopt_ipv4_multicast_if): fix missed line in the previous commit.
This commit is contained in:
parent
69bf3a3993
commit
e0afa6f44a
@ -313,6 +313,7 @@ setsockopt_ipv4_multicast_if(int sock,
|
||||
|
||||
#ifdef HAVE_STRUCT_IP_MREQN_IMR_IFINDEX
|
||||
struct ip_mreqn mreqn;
|
||||
memset (&mreqn, 0, sizeof(mreqn));
|
||||
|
||||
mreqn.imr_ifindex = ifindex;
|
||||
return setsockopt(sock, IPPROTO_IP, IP_MULTICAST_IF, (void *)&mreqn, sizeof(mreqn));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user