summaryrefslogtreecommitdiff
path: root/pimd/pim_ifchannel.c
diff options
context:
space:
mode:
authormobash-rasool <mobash.rasool@gmail.com>2022-11-24 10:56:32 +0530
committerGitHub <noreply@github.com>2022-11-24 10:56:32 +0530
commit67e2017f84fd06dcfcb8dc2bcfe2085b4462809c (patch)
tree3eb1bc9b1f05a925611fecf76ae42f2f95381d04 /pimd/pim_ifchannel.c
parent56a3ac3b5d96e507340cee29467ebf28e868d081 (diff)
parentf8766ccbf073303ef998a3355136a9f08420033b (diff)
Merge pull request #12378 from FRRouting/mergify/bp/stable/8.4/pr-12260
pimd: consistently ignore prefix list mask len (backport #12260)
Diffstat (limited to 'pimd/pim_ifchannel.c')
-rw-r--r--pimd/pim_ifchannel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pimd/pim_ifchannel.c b/pimd/pim_ifchannel.c
index ce252366ce..3310009c02 100644
--- a/pimd/pim_ifchannel.c
+++ b/pimd/pim_ifchannel.c
@@ -1217,8 +1217,9 @@ int pim_ifchannel_local_membership_add(struct interface *ifp, pim_sgaddr *sg,
struct prefix g;
pim_addr_to_prefix(&g, up->sg.grp);
- if (prefix_list_apply(plist, &g)
- == PREFIX_DENY) {
+ if (prefix_list_apply_ext(plist, NULL, &g,
+ true) ==
+ PREFIX_DENY) {
pim_channel_add_oif(
up->channel_oil, pim->regiface,
PIM_OIF_FLAG_PROTO_GM,