]> git.puffer.fish Git - matthieu/frr.git/commit
lib, pimd: add address match mode to prefix lists
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 20 Apr 2021 04:11:57 +0000 (06:11 +0200)
committerMartin Winter <mwinter@opensourcerouting.org>
Mon, 5 Jul 2021 23:44:34 +0000 (01:44 +0200)
commit2b6b16fc21d35693914231509c8710eff6a58c4a
tree545863ce2606dff91c0a0dad58b7906ebd55be29
parentf06c6e3ef91027205e653a4aa72a2bb8969466e9
lib, pimd: add address match mode to prefix lists

... the PIM code is kinda misusing prefix lists to match addresses.
Considering the weird semantics of access-lists, I can't fault it.
However, prefix lists aren't great at matching addresses by default,
since they try to match the prefix length too.  So, here's an "address
match mode" for prefix lists to get that to work more reasonably.

Fixes: #8492
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/plist.c
lib/plist.h
pimd/pim_rp.c