diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-06-18 02:43:21 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-06-18 02:43:21 +0200 |
commit | 744d91b3c6bfec40f78f97be34a2301dc9a5fbf5 (patch) | |
tree | d619170c1168861ff128710160100e412f6fe5cf /pimd/pim_mroute.h | |
parent | pimd: Remove unneeded shell scripts (diff) | |
download | frr-744d91b3c6bfec40f78f97be34a2301dc9a5fbf5.tar.xz frr-744d91b3c6bfec40f78f97be34a2301dc9a5fbf5.zip |
pimd: Separate pim vif index spot from ifindex
Allow pim to separate out the pim vif index from the ifindex.
This change will allow pim to work with up to 255(MAXVIFS)
interfaces, while also allowing the interface ifindex to
be whatever number it needs to be.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_mroute.h')
-rw-r--r-- | pimd/pim_mroute.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_mroute.h b/pimd/pim_mroute.h index a32c792d7..c1ce012e2 100644 --- a/pimd/pim_mroute.h +++ b/pimd/pim_mroute.h @@ -166,7 +166,7 @@ struct igmpmsg int pim_mroute_socket_enable(void); int pim_mroute_socket_disable(void); -int pim_mroute_add_vif(int vif_index, struct in_addr ifaddr, unsigned char flags); +int pim_mroute_add_vif(struct interface *ifp, struct in_addr ifaddr, unsigned char flags); int pim_mroute_del_vif(int vif_index); int pim_mroute_add(struct mfcctl *mc); |