]> git.puffer.fish Git - matthieu/frr.git/commit
lib,zebra,bgpd,pbrd: Compare nexthops without labels
authorStephen Worley <sworley@cumulusnetworks.com>
Wed, 22 May 2019 19:34:07 +0000 (15:34 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Thu, 23 May 2019 16:21:15 +0000 (12:21 -0400)
commita5a2d802d7f4b44423dedf3f7876bdb28aebe844
treea70af7ddf7ce2308a22d54544975522ff5e67e76
parent24cfec84188bc8f69eef873302824dc6f49b5339
lib,zebra,bgpd,pbrd: Compare nexthops without labels

Allow label ignoring when comparing nexthops. Specifically,
add another functon nexthop_same_no_labels() that shares
a path with nexthop_same() but doesn't check labels.

rib_delete() needs to ignore labels in this case.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
lib/nexthop.c
lib/nexthop.h
zebra/zebra_rib.c