diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2020-05-14 14:23:03 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-14 14:23:03 -0300 |
| commit | 82624cef0cf4475aed2be23ed8cad02a8e886d2e (patch) | |
| tree | fd5e4533504bc0ebd10546a76a0c1a037434d599 /isisd/isisd.h | |
| parent | 774e3570e9e47d2b259c0380377e078746cffeff (diff) | |
| parent | d4d008fea1172e6981ad18518a311d13c96269ed (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.h | 6 |
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) |
