summaryrefslogtreecommitdiff
path: root/pimd/pim_pim.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_pim.c')
-rw-r--r--pimd/pim_pim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c
index a3136b61b2..60507970d9 100644
--- a/pimd/pim_pim.c
+++ b/pimd/pim_pim.c
@@ -389,7 +389,7 @@ static int pim_sock_open(struct in_addr ifaddr, int ifindex)
{
int fd;
- fd = pim_socket_mcast(IPPROTO_PIM, ifaddr, 0 /* loop=false */);
+ fd = pim_socket_mcast(IPPROTO_PIM, ifaddr, ifindex, 0 /* loop=false */);
if (fd < 0)
return -1;