diff options
Diffstat (limited to 'isisd/isis_events.c')
-rw-r--r-- | isisd/isis_events.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/isisd/isis_events.c b/isisd/isis_events.c index 6a5dcfb07..f330407bf 100644 --- a/isisd/isis_events.c +++ b/isisd/isis_events.c @@ -62,7 +62,7 @@ void isis_event_circuit_state_change(struct isis_circuit *circuit, { area->circuit_state_changes++; - if (isis->debugs & DEBUG_EVENTS) + if (IS_DEBUG_EVENTS) zlog_debug("ISIS-Evt (%s) circuit %s", area->area_tag, up ? "up" : "down"); @@ -128,7 +128,7 @@ void isis_circuit_is_type_set(struct isis_circuit *circuit, int newtype) return; } - if (isis->debugs & DEBUG_EVENTS) + if (IS_DEBUG_EVENTS) zlog_debug("ISIS-Evt (%s) circuit type change %s -> %s", circuit->area->area_tag, circuit_t2string(circuit->is_type), @@ -208,7 +208,7 @@ int isis_event_dis_status_change(struct thread *thread) /* invalid arguments */ if (!circuit || !circuit->area) return 0; - if (isis->debugs & DEBUG_EVENTS) + if (IS_DEBUG_EVENTS) zlog_debug("ISIS-Evt (%s) DIS status change", circuit->area->area_tag); @@ -221,7 +221,7 @@ int isis_event_dis_status_change(struct thread *thread) void isis_event_auth_failure(char *area_tag, const char *error_string, uint8_t *sysid) { - if (isis->debugs & DEBUG_EVENTS) + if (IS_DEBUG_EVENTS) zlog_debug("ISIS-Evt (%s) Authentication failure %s from %s", area_tag, error_string, sysid_print(sysid)); |