diff options
author | hasso <hasso> | 2004-12-29 19:34:22 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-12-29 19:34:22 +0000 |
commit | 4660687a38034d60296fbc9e82aae772011c407f (patch) | |
tree | 5a0d7caea1ba0958c8f9780da038654ce4f10fed /isisd/isis_zebra.c | |
parent | 1d69fdf645d8434e8e1488f8bf0c73613df09da9 (diff) |
Don't crash during interface up/down events.
Diffstat (limited to 'isisd/isis_zebra.c')
-rw-r--r-- | isisd/isis_zebra.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/isisd/isis_zebra.c b/isisd/isis_zebra.c index c7d05334..bcd00184 100644 --- a/isisd/isis_zebra.c +++ b/isisd/isis_zebra.c @@ -135,6 +135,9 @@ isis_zebra_if_state_up (int command, struct zclient *zclient, 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; } |