From 940b01aa6a8d9a2dd12fd121a39f9b53d23081ad Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 17 Feb 2004 20:07:30 +0000 Subject: 2004-02-17 Paul Jakma * ospf_zebra.c: (ospf_interface_delete) Do not delete the interface params, nor the interface structure, if an interface delete message is received from zebra. * ospf_interface.c: (ospf_if_delete_hook) Delete the interface params and interface, ie that which was previously removed in (ospf_interface_delete) above. --- ospfd/ospf_zebra.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ospfd/ospf_zebra.c') diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c index 0910a506..e3738bed 100644 --- a/ospfd/ospf_zebra.c +++ b/ospfd/ospf_zebra.c @@ -125,12 +125,6 @@ ospf_interface_delete (int command, struct zclient *zclient, if (rn->info) ospf_if_free ((struct ospf_interface *) rn->info); - for (rn = route_top (IF_OIFS_PARAMS (ifp)); rn; rn = route_next (rn)) - if (rn->info) - ospf_del_if_params (rn->info); - - if_delete (ifp); - return 0; } -- cgit v1.2.1