diff options
| author | Rafael Zalamena <rzalamena@users.noreply.github.com> | 2017-11-29 14:03:56 -0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-29 14:03:56 -0200 |
| commit | 69df82f3b5d3aa343c769f280fb811ce019601d4 (patch) | |
| tree | c917578637a1b75ec3335b71c8dfddf9c79e7b8e | |
| parent | 524e0390927ed5ad4bf1ddf09667b544fd7bcac9 (diff) | |
| parent | 4015e918506d3e568d0fb7b38d940a9b60c71ae0 (diff) | |
Merge pull request #1493 from donaldsharp/plist_stuff
lib: Fix prefix-list where le is == prefixlen
| -rw-r--r-- | lib/plist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plist.c b/lib/plist.c index 8f04261086..3c491d6a3b 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -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)) |
