]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_nhg.c
zebra: Change wording of duplicate kernel nhg flag
authorStephen Worley <sworley@cumulusnetworks.com>
Wed, 23 Oct 2019 18:50:30 +0000 (14:50 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:44 +0000 (11:13 -0400)
commitc1da832a948af638c3edd88fc3e5e5a5b5b3248c
treef7b3a122ffb1985b9085ae7db06164d5403d5a59
parent17c25e0368e765ec23b7c94e65f5d4e44102f77e
zebra: Change wording of duplicate kernel nhg flag

Change the wording of the flag indicating we have received
a nexthop group from the kernel with a different ID but
is fundamentally identical to one we already have.

It was colliding with a flag of similar name in the nexthop struct.

Change it from NEXTHOP_GROUP_DUPLICATE -> NEXTHOP_GROUP_UNHASHABLE
since it is in fact unhashable.

Also change the wording of functions and comments referencing the same
problem.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_nhg.c
zebra/zebra_nhg.h
zebra/zebra_vty.c