[quagga-dev 16711] IP Prefix-lists "ge" value

Siva Kesava sivakesava1 at gmail.com
Sun Mar 4 20:58:05 GMT 2018


The documentation specifies that in an IP-Prefix List "The prefix list will
be applied if the prefix length is greater than or equal to the ge prefix
length."

For reference:
https://www.nongnu.org/quagga/docs/docs-multi/IP-Prefix-List.html

But in practice, the following command :

ip prefix-list 101 seq 5 permit 1.0.1.0/24 ge 24 le 24

gives an error:

Invalid prefix range for 1.0.1.0/24, make sure: len < ge-value <= le-value.

I believe that the condition has to be len <= ge-value <= le-value as per
the documentation.

This difference is found in the lib/plist.c file in
"vty_prefix_list_install" function probably in line 754(quagga 1.2.4
version)



‌
<https://mailtrack.io/> Sent with Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality&>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20180304/649c1663/attachment.html>


More information about the Quagga-dev mailing list