commit | 4660687a38034d60296fbc9e82aae772011c407f | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Wed Dec 29 19:34:22 2004 +0000 |
committer | hasso <hasso> | Wed Dec 29 19:34:22 2004 +0000 |
tree | 5a0d7caea1ba0958c8f9780da038654ce4f10fed | |
parent | 1d69fdf645d8434e8e1488f8bf0c73613df09da9 [diff] [blame] |
Don't crash during interface up/down events.
diff --git a/isisd/isis_zebra.c b/isisd/isis_zebra.c index c7d0533..bcd0018 100644 --- a/isisd/isis_zebra.c +++ b/isisd/isis_zebra.c
@@ -135,6 +135,9 @@ if (if_is_up (ifp)) { zebra_interface_if_set_value (zclient->ibuf, ifp); + /* HT: This is wrong actually. We can't assume that circuit exist + * if we delete circuit during if_state_down event. Needs rethink. + * TODO */ isis_circuit_update_params (circuit_scan_by_ifp (ifp), ifp); return 0; }