mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 13:01:59 +00:00
Merge pull request #1493 from donaldsharp/plist_stuff
lib: Fix prefix-list where le is == prefixlen
This commit is contained in:
commit
69df82f3b5
@ -933,7 +933,7 @@ static int vty_prefix_list_install(struct vty *vty, afi_t afi, const char *name,
|
||||
if (genum && (genum <= p.prefixlen))
|
||||
return vty_invalid_prefix_range(vty, prefix);
|
||||
|
||||
if (lenum && (lenum <= p.prefixlen))
|
||||
if (lenum && (lenum < p.prefixlen))
|
||||
return vty_invalid_prefix_range(vty, prefix);
|
||||
|
||||
if (lenum && (genum > lenum))
|
||||
|
Loading…
Reference in New Issue
Block a user