summaryrefslogtreecommitdiffstats
path: root/pimd/pim_sock.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-02-03 18:33:37 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-02-03 18:33:37 +0100
commitb35702d0b8367fc719bb57ab211e3495091612b9 (patch)
treea13adaf5e180bdbd6a5664ad05b6b478beb68101 /pimd/pim_sock.h
parentMerge pull request #159 from LabNConsulting/working/master/patch-set/rfapi+vty (diff)
downloadfrr-b35702d0b8367fc719bb57ab211e3495091612b9.tar.xz
frr-b35702d0b8367fc719bb57ab211e3495091612b9.zip
pimd: Allow a interface in a vrf to be configured.
This fixes the issue a crash when we have configured an interface inside of a vrf, and apply pim commands to it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_sock.h')
-rw-r--r--pimd/pim_sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_sock.h b/pimd/pim_sock.h
index aaf82e862..b4ce901d1 100644
--- a/pimd/pim_sock.h
+++ b/pimd/pim_sock.h
@@ -39,7 +39,7 @@
int pim_socket_bind (int fd, struct interface *ifp);
int pim_socket_ip_hdr (int fd);
int pim_socket_raw(int protocol);
-int pim_socket_mcast(int protocol, struct in_addr ifaddr, int ifindex, u_char loop);
+int pim_socket_mcast(int protocol, struct in_addr ifaddr, struct interface *ifp, u_char loop);
int pim_socket_join(int fd, struct in_addr group,
struct in_addr ifaddr, ifindex_t ifindex);
int pim_socket_join_source(int fd, ifindex_t ifindex,