mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-26 23:23:35 +00:00
Merge pull request #17658 from FRRouting/mergify/bp/stable/10.0/pr-17615
lib: Take ge/le into consideration when checking the prefix with the prefix-list (backport #17615)
This commit is contained in:
commit
cbe7fc3a98
@ -1140,8 +1140,10 @@ static int vty_show_prefix_list_prefix(struct vty *vty, afi_t afi,
|
|||||||
match = 0;
|
match = 0;
|
||||||
|
|
||||||
if (type == normal_display || type == first_match_display)
|
if (type == normal_display || type == first_match_display)
|
||||||
if (prefix_same(&p, &pentry->prefix))
|
if (prefix_list_entry_match(pentry, &p, false)) {
|
||||||
|
pentry->hitcnt++;
|
||||||
match = 1;
|
match = 1;
|
||||||
|
}
|
||||||
|
|
||||||
if (type == longer_display) {
|
if (type == longer_display) {
|
||||||
if ((p.family == pentry->prefix.family)
|
if ((p.family == pentry->prefix.family)
|
||||||
|
Loading…
Reference in New Issue
Block a user