summaryrefslogtreecommitdiff
path: root/isisd/isisd.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-05-14 14:23:03 -0300
committerGitHub <noreply@github.com>2020-05-14 14:23:03 -0300
commit82624cef0cf4475aed2be23ed8cad02a8e886d2e (patch)
treefd5e4533504bc0ebd10546a76a0c1a037434d599 /isisd/isisd.h
parent774e3570e9e47d2b259c0380377e078746cffeff (diff)
parentd4d008fea1172e6981ad18518a311d13c96269ed (diff)
Merge pull request #6342 from Orange-OpenSource/dev_isis_srdev_isis_sr
isisd: Preparation to merge Segment-Routing into master
Diffstat (limited to 'isisd/isisd.h')
-rw-r--r--isisd/isisd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h
index 56ea0993fd..439428d797 100644
--- a/isisd/isisd.h
+++ b/isisd/isisd.h
@@ -254,6 +254,12 @@ extern struct thread_master *master;
zlog_debug(__VA_ARGS__); \
} while (0)
+#define sr_debug(...) \
+ do { \
+ if (IS_DEBUG_ISIS(DEBUG_SR)) \
+ zlog_debug(__VA_ARGS__); \
+ } while (0)
+
#define DEBUG_TE DEBUG_LSP_GEN
#define IS_DEBUG_ISIS(x) (isis->debugs & x)