diff options
| author | Carmine Scarpitta <cscarpit@cisco.com> | 2024-11-03 08:43:38 +0100 |
|---|---|---|
| committer | Carmine Scarpitta <cscarpit@cisco.com> | 2024-11-03 08:43:38 +0100 |
| commit | a56e790b07409e4bf15f1e8cac7274b42c31f034 (patch) | |
| tree | 0591de184393c20ec32fb5cc24620878e64520bd /zebra/zebra_srv6.c | |
| parent | 8e96fcece22fc6e5e505c4446adf3ce0318c1c02 (diff) | |
zebra: Fix wrong debug macro in `release_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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_srv6.c b/zebra/zebra_srv6.c index d554731603..152c1d3dd1 100644 --- a/zebra/zebra_srv6.c +++ b/zebra/zebra_srv6.c @@ -1944,7 +1944,7 @@ static int release_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 release dynamic SRv6 SID function %u from block %pFX", __func__, sid_func, &block->prefix); |
