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 /lib/if.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 'lib/if.c')
| -rw-r--r-- | lib/if.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -1002,12 +1002,6 @@ void if_terminate(struct vrf *vrf) while (!RB_EMPTY(if_name_head, &vrf->ifaces_by_name)) { ifp = RB_ROOT(if_name_head, &vrf->ifaces_by_name); - - if (ifp->node) { - ifp->node->info = NULL; - route_unlock_node(ifp->node); - ifp->node = NULL; - } if_delete(&ifp); } } |
