mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
zebra: Fix wrong debug macro in alloc_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>
This commit is contained in:
parent
a69f66176d
commit
973c4750e1
@ -1159,7 +1159,7 @@ static bool alloc_srv6_sid_func_explicit(struct zebra_srv6_sid_block *block,
|
|||||||
|
|
||||||
format = block->sid_format;
|
format = block->sid_format;
|
||||||
|
|
||||||
if (ZEBRA_DEBUG_SRV6)
|
if (IS_ZEBRA_DEBUG_SRV6)
|
||||||
zlog_debug("%s: trying to allocate explicit SID function %u from block %pFX",
|
zlog_debug("%s: trying to allocate explicit SID function %u from block %pFX",
|
||||||
__func__, sid_func, &block->prefix);
|
__func__, sid_func, &block->prefix);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user