summaryrefslogtreecommitdiff
path: root/zebra/zebra_srv6.c
diff options
context:
space:
mode:
authorCarmine Scarpitta <cscarpit@cisco.com>2024-11-03 08:44:41 +0100
committerCarmine Scarpitta <cscarpit@cisco.com>2024-11-03 08:44:41 +0100
commit69b1acf4e308b102fb7131235d86673b52fd660c (patch)
tree828bb6621d6e6909263a75fe471ba22416ec36d3 /zebra/zebra_srv6.c
parentd1810d5c7f940b88063cffcb8477271190447b8f (diff)
zebra: Fix wrong debug macro in `release_srv6_sid_func_explicit`
`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 b87501b755..86ff81c4be 100644
--- a/zebra/zebra_srv6.c
+++ b/zebra/zebra_srv6.c
@@ -1918,7 +1918,7 @@ static bool release_srv6_sid_func_explicit(struct zebra_srv6_sid_block *block,
zebra_srv6_sid_func_free(sid_func_ptr);
}
- if (ZEBRA_DEBUG_SRV6)
+ if (IS_ZEBRA_DEBUG_SRV6)
zlog_debug("%s: released explicit SRv6 SID function %u from block %pFX",
__func__, sid_func, &block->prefix);