isisd: isis_dr_resign() trace braced with debug isis events

debug isis events will also be used to not display isis_dr_resign()
event trace.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
Philippe Guibert 2022-04-20 13:50:39 +02:00
parent e09284ca09
commit e6605a89f1

View File

@ -217,6 +217,7 @@ int isis_dr_resign(struct isis_circuit *circuit, int level)
{ {
uint8_t id[ISIS_SYS_ID_LEN + 2]; uint8_t id[ISIS_SYS_ID_LEN + 2];
if (IS_DEBUG_EVENTS)
zlog_debug("isis_dr_resign l%d", level); zlog_debug("isis_dr_resign l%d", level);
circuit->u.bc.is_dr[level - 1] = 0; circuit->u.bc.is_dr[level - 1] = 0;