diff options
author | Nathan Bahr <nbahr@atcorp.com> | 2020-08-19 21:26:41 +0200 |
---|---|---|
committer | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2020-08-26 17:46:42 +0200 |
commit | efe6f185908ce3ff0be385ab8207966f82ee4e92 (patch) | |
tree | 9ed30cfb9148738ae76383428f46613440eedc1b /pimd/pim_iface.h | |
parent | Merge pull request #6726 from Orange-OpenSource/dev_ospf_sr (diff) | |
download | frr-efe6f185908ce3ff0be385ab8207966f82ee4e92.tar.xz frr-efe6f185908ce3ff0be385ab8207966f82ee4e92.zip |
pimd: fix IGMP receive handling
IGMP packets received from a source that does not match the subnet
of any configured addresses on the receive interface should be
ignored.
Also, find and use the correct IGMP socket object for the received
IGMP packet.
Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Diffstat (limited to 'pimd/pim_iface.h')
-rw-r--r-- | pimd/pim_iface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_iface.h b/pimd/pim_iface.h index 13aaf8d3b..8decfef74 100644 --- a/pimd/pim_iface.h +++ b/pimd/pim_iface.h @@ -223,7 +223,7 @@ void pim_if_update_assert_tracking_desired(struct interface *ifp); void pim_if_create_pimreg(struct pim_instance *pim); -int pim_if_connected_to_source(struct interface *ifp, struct in_addr src); +struct prefix *pim_if_connected_to_source(struct interface *ifp, struct in_addr src); int pim_update_source_set(struct interface *ifp, struct in_addr source); bool pim_if_is_vrf_device(struct interface *ifp); |