]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Always show CIDR mask when displaying routes 2837/head
authorPascal Mathis <mail@pascalmathis.com>
Tue, 14 Aug 2018 15:36:41 +0000 (17:36 +0200)
committerPascal Mathis <mail@pascalmathis.com>
Tue, 14 Aug 2018 17:40:42 +0000 (19:40 +0200)
commit89e5e9f028210c35b7b609532e7a7e840e26901c
tree374c9e71c38ed221e64f3eabdf5a48fa42493561
parent6c705218232ce1513b2a43fa4e2307cc378a52f1
bgpd: Always show CIDR mask when displaying routes

Classful networking has been obsolete for ages and there is currently an
inconsistency between `show ip route` and `show bgp`, where the first
one always displays the CIDR mask while the second one hides classful
network masks.

This commit adjusts the behavior of `show bgp` to always show the CIDR
mask for a route, even when it is classful.

Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
bgpd/bgp_route.c