summaryrefslogtreecommitdiff
path: root/zebra/zebra_srv6.c
diff options
context:
space:
mode:
authorCarmine Scarpitta <cscarpit@cisco.com>2024-11-03 08:42:58 +0100
committerCarmine Scarpitta <cscarpit@cisco.com>2024-11-03 08:42:58 +0100
commit4710baa7bbf86fafade11816acdd43e435e848ba (patch)
treeff133df5d30de13dcce994e16d13730f7d97517a /zebra/zebra_srv6.c
parent973c4750e1d1ea9bd05dfba2e27fe2d1dcc10a02 (diff)
zebra: Fix wrong debug macro in `alloc_srv6_sid_func_dynamic`
`ZEBRA_DEBUG_SRV6` is not the correct macro to evaluate if SRv6 debug is enabled or not. The correct macro is `IS_ZEBRA_DEBUG_SRV6`. Fix this by replacing `ZEBRA_DEBUG_SRV6` with `IS_ZEBRA_DEBUG_SRV6`. Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
Diffstat (limited to 'zebra/zebra_srv6.c')
-rw-r--r--zebra/zebra_srv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_srv6.c b/zebra/zebra_srv6.c
index 693ba62202..c23bf46494 100644
--- a/zebra/zebra_srv6.c
+++ b/zebra/zebra_srv6.c
@@ -1331,7 +1331,7 @@ static bool alloc_srv6_sid_func_dynamic(struct zebra_srv6_sid_block *block,
format = block->sid_format;
- if (ZEBRA_DEBUG_SRV6)
+ if (IS_ZEBRA_DEBUG_SRV6)
zlog_debug("%s: trying to allocate dynamic SID function from block %pFX",
__func__, &block->prefix);