From b30c5e67a20b1a092faa56fe349171eb1da386b0 Mon Sep 17 00:00:00 2001 From: hasso Date: Wed, 29 Dec 2004 20:06:41 +0000 Subject: Really fix crashes now. Revert isis_circuit_update_params() part of previous commit. Replace all if_is_up() calls with if_is_operative(). --- isisd/isis_circuit.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'isisd/isis_circuit.c') diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c index ca5befbd..1a98a633 100644 --- a/isisd/isis_circuit.c +++ b/isisd/isis_circuit.c @@ -430,12 +430,7 @@ void isis_circuit_update_params (struct isis_circuit *circuit, struct interface *ifp) { - /* HT: It can happen at the moment during interface up event because we - * actually delete circuit during interface down event. Should be really - * cleaned up. TODO */ - /* assert (circuit); */ - if (!circuit) - return; + assert (circuit); if (circuit->circuit_id != ifp->ifindex) { -- cgit v1.2.1