diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2022-11-04 16:55:55 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2022-11-04 17:17:39 +0100 |
commit | ab2f9e89b44642af568c3542e1f2b14378fb5ec2 (patch) | |
tree | e7ef08f89a3a1a0426a224689b977f205e9320cf /pimd/pim_register.c | |
parent | Merge pull request #12196 from opensourcerouting/xref-vtysh (diff) | |
download | frr-ab2f9e89b44642af568c3542e1f2b14378fb5ec2.tar.xz frr-ab2f9e89b44642af568c3542e1f2b14378fb5ec2.zip |
pimd: consistently ignore prefix list mask len
... the prefix length wasn't ignored as expected. Both S and G are
always /32. But expecting "le 32" in prefix-list config is unexpected &
counterintuitive.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_register.c')
-rw-r--r-- | pimd/pim_register.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pimd/pim_register.c b/pimd/pim_register.c index a37759e0d..b62c646c3 100644 --- a/pimd/pim_register.c +++ b/pimd/pim_register.c @@ -628,7 +628,8 @@ int pim_register_recv(struct interface *ifp, pim_addr dest_addr, pim_addr_to_prefix(&src, sg.src); - if (prefix_list_apply(plist, &src) == PREFIX_DENY) { + if (prefix_list_apply_ext(plist, NULL, &src, true) == + PREFIX_DENY) { pim_register_stop_send(ifp, &sg, dest_addr, src_addr); if (PIM_DEBUG_PIM_PACKETS) |