]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: improve 'show bgp nexthop' command 12038/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 28 Sep 2022 15:23:51 +0000 (17:23 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 5 Oct 2022 09:12:59 +0000 (11:12 +0200)
commit8c6a164f40178319fbaf2594ba36622dc2ea0586
tree9560757e30ce2b0230a7ab926a6c803b3c0d2b0e
parentb81570c690d79ebc1a03708dc17d33caa9639a5f
bgpd: improve 'show bgp nexthop' command

- for a given IP nexthop, dump all NH entries, including
colored entries, or entries with an ifindex.
- when a given IP nexthop is requested, the path is displayed.
For better readibility, remove the carriage return between
'Last update' and 'Paths', because ctime() function already
performs carriage return.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_nexthop.c