diff options
| author | Mark Stapp <mjs@cisco.com> | 2024-10-24 14:49:28 -0700 | 
|---|---|---|
| committer | Mark Stapp <mjs@cisco.com> | 2024-10-29 13:49:43 -0400 | 
| commit | c1160538ea8a043490c533e2d669d307e84950ac (patch) | |
| tree | df7f171b88b1a2e161fd3b0bb32bf576b4406179 /zebra/interface.c | |
| parent | 2b05d34a008d8ca64c819be85a7b044bdd69c08d (diff) | |
lib,zebra: remove table node from ifp struct
Finish removing the table route_node from the ifp struct.
Signed-off-by: Mark Stapp <mjs@cisco.com>
Diffstat (limited to 'zebra/interface.c')
| -rw-r--r-- | zebra/interface.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index 74e2500532..86de5dbae6 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -215,6 +215,8 @@ static int if_zebra_delete_hook(struct interface *ifp)  		if_nhg_dependents_release(ifp);  		nhg_connected_tree_free(&zebra_if->nhg_dependents); +		zebra_ns_unlink_ifp(ifp); +  		XFREE(MTYPE_ZIF_DESC, zebra_if->desc);  		EVENT_OFF(zebra_if->speed_update); @@ -730,7 +732,6 @@ void if_delete_update(struct interface **pifp)  	   for setting ifindex to IFINDEX_INTERNAL after processing the  	   interface deletion message. */  	if_set_index(ifp, IFINDEX_INTERNAL); -	ifp->node = NULL;  	UNSET_FLAG(ifp->status, ZEBRA_INTERFACE_VRF_LOOPBACK);  | 
