]> git.puffer.fish Git - mirror/frr.git/commit
zebra: fix ifp pointer for groups/recursives 9063/head
authorStephen Worley <sworley@nvidia.com>
Mon, 21 Jun 2021 16:53:25 +0000 (12:53 -0400)
committerStephen Worley <sworley@nvidia.com>
Thu, 15 Jul 2021 15:24:24 +0000 (11:24 -0400)
commitbf157b9263050b25228e66164c1540bf823b960a
tree744d41587df9160ae2d4ffb500a5ad43a61d9557
parent5f179a1a6169453784bacea0f427a7e8f228c94e
zebra: fix ifp pointer for groups/recursives

At some point we broke the ifp pointer for nhe->ifp such
that it was pointing to an interface even in groups/recurisve
instances.

Add checks here to make it again so that we only set the ifp
pointer if it is a fully resolved singleton NHE.

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