]> git.proxmox.com Git - mirror_frr.git/commit
lib: assert if someone adds to nexthop list to nhg
authorStephen Worley <sworley@cumulusnetworks.com>
Mon, 13 Jan 2020 19:28:29 +0000 (14:28 -0500)
committerStephen Worley <sworley@cumulusnetworks.com>
Wed, 15 Jan 2020 18:35:29 +0000 (13:35 -0500)
commit89ca64c90acfc144d2f1802844abd7571a1e162c
tree22258827a222dad91af884407803a76149302e02
parent1d049aba721bb05ecf2f8b5978d96863330093b6
lib: assert if someone adds to nexthop list to nhg

If someone tries to add a nexthop with a list of nexthops
already attached to it, let's just assert. This standardizes
the API to say we assume this is an individual nexthop
you are appending to a group.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
lib/nexthop_group.c