diff options
author | harios <hari@niralnetworks.com> | 2020-06-19 21:04:33 +0200 |
---|---|---|
committer | harios <hari@niralnetworks.com> | 2020-06-24 11:15:06 +0200 |
commit | e740f9c1596333ae8e6ac602dabbfc9a9c769d04 (patch) | |
tree | 9b7c30cbb3e6bba9827b6eec46f82f8515cac2cd /isisd/isis_events.c | |
parent | Merge pull request #6615 from opensourcerouting/build-assorted-20200619 (diff) | |
download | frr-e740f9c1596333ae8e6ac602dabbfc9a9c769d04.tar.xz frr-e740f9c1596333ae8e6ac602dabbfc9a9c769d04.zip |
ISIS VRF: ISIS Debug structure modifications
1. The "isis->debug" variable dependency on debug logs print is removed.
Signed-off-by: harios <hari@niralnetworks.com>
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)); |