diff options
author | hasso <hasso> | 2004-12-29 20:06:41 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-12-29 20:06:41 +0000 |
commit | b30c5e67a20b1a092faa56fe349171eb1da386b0 (patch) | |
tree | 9bc23b582e4c159ae41310cf1900b2e42f932af2 /isisd/isis_circuit.c | |
parent | d44debedf53b85c989b72fe7c6924ffc1e7e625b (diff) |
Really fix crashes now. Revert isis_circuit_update_params() part of previous
commit. Replace all if_is_up() calls with if_is_operative().
Diffstat (limited to 'isisd/isis_circuit.c')
-rw-r--r-- | isisd/isis_circuit.c | 7 |
1 files changed, 1 insertions, 6 deletions
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) { |