]> git.puffer.fish Git - mirror/frr.git/commit
*: do not register nexthop 0.0.0.0 to nht 4072/head
authorChirag Shah <chirag@cumulusnetworks.com>
Wed, 3 Apr 2019 01:47:46 +0000 (18:47 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Wed, 3 Apr 2019 18:17:57 +0000 (11:17 -0700)
commit1eb6c3eae6a3040fdd1f4f88881ca0d0f4669324
tree8e563bfbea31d72fa784b7c9520e24fe42126a14
parentc5dafdbf5c9320956b453701b5145faf6ede7506
*: do not register nexthop 0.0.0.0 to nht

Avoid tracking 0.0.0.0/32 nexthop with RIB.

When routes are aggregated,
the originate of the route becomes self.
Do not track nexthop self (0.0.0.0) with rib.

Ticket: CM-24248
Testing Done:

Before fix-

tor-11# show ip nht vrf all

VRF blue:
0.0.0.0
 unresolved
 Client list: bgp(fd 16)

VRF default:

VRF green:

VRF magenta:
0.0.0.0
 unresolved
 Client list: bgp(fd 16)

After fix-

tor-11# show ip nht vrf all

VRF blue:

VRF default:

VRF green:

VRF magenta:

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
bgpd/bgp_nht.c
lib/prefix.h