summaryrefslogtreecommitdiffstats
path: root/zebra/debug.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-04-05 19:48:21 +0200
committerMark Stapp <mjs@voltanet.io>2021-04-05 21:53:48 +0200
commit04dda092186aec1cd3c89e787918b109c075e162 (patch)
tree6d90d00d6149acef2d26252d4262a9daf9cd98d8 /zebra/debug.h
parentMerge pull request #8240 from reubendowle/fixes/nhrp-nat (diff)
downloadfrr-04dda092186aec1cd3c89e787918b109c075e162.tar.xz
frr-04dda092186aec1cd3c89e787918b109c075e162.zip
zebra: add 'detail' mpls debug setting
Add setting and cli for 'debug zebra mpls detail'. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/debug.h')
-rw-r--r--zebra/debug.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/zebra/debug.h b/zebra/debug.h
index 86506846a..dc44367d0 100644
--- a/zebra/debug.h
+++ b/zebra/debug.h
@@ -48,7 +48,8 @@ extern "C" {
#define ZEBRA_DEBUG_NHT 0x01
#define ZEBRA_DEBUG_NHT_DETAILED 0x02
-#define ZEBRA_DEBUG_MPLS 0x01
+#define ZEBRA_DEBUG_MPLS 0x01
+#define ZEBRA_DEBUG_MPLS_DETAILED 0x02
#define ZEBRA_DEBUG_VXLAN 0x01
@@ -93,6 +94,8 @@ extern "C" {
#define IS_ZEBRA_DEBUG_NHT_DETAILED (zebra_debug_nht & ZEBRA_DEBUG_NHT_DETAILED)
#define IS_ZEBRA_DEBUG_MPLS (zebra_debug_mpls & ZEBRA_DEBUG_MPLS)
+#define IS_ZEBRA_DEBUG_MPLS_DETAIL \
+ (zebra_debug_mpls & ZEBRA_DEBUG_MPLS_DETAILED)
#define IS_ZEBRA_DEBUG_VXLAN (zebra_debug_vxlan & ZEBRA_DEBUG_VXLAN)
#define IS_ZEBRA_DEBUG_PW (zebra_debug_pw & ZEBRA_DEBUG_PW)