]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: add resolved_prefix visibility on nht
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 29 Mar 2024 11:07:14 +0000 (12:07 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 29 Mar 2024 16:20:31 +0000 (17:20 +0100)
commite20faa9fe0dee04d46d67cfabf195c7eb071dcbf
tree88c4ed524f0dfc27c870cb12a62b5a54a56d789f
parentd5f17cd51e6e5fcef4c8b8509a3538d655dadf36
bgpd: add resolved_prefix visibility on nht

The nexthop tracking never displays the prefix that
has been used in ZEBRA to resolve its nexthop. This
information will be useful if some decision has to be
taken regarding any loops, that is to say if for instance
a BGP prefix is resolved over a prefix in ZEBRA that is
exactly the same.

Store the value in bgp nexthop context, and display it.

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