diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-02-03 18:33:37 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-02-03 18:33:37 +0100 |
commit | b35702d0b8367fc719bb57ab211e3495091612b9 (patch) | |
tree | a13adaf5e180bdbd6a5664ad05b6b478beb68101 /pimd/pim_sock.h | |
parent | Merge pull request #159 from LabNConsulting/working/master/patch-set/rfapi+vty (diff) | |
download | frr-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.h | 2 |
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, |