summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-10-14 08:12:40 +0300
committerGitHub <noreply@github.com>2024-10-14 08:12:40 +0300
commitc45e1066a29a3a4c499d07ffc602832a4476f6d5 (patch)
treed8465a3e5c7a7b121bee530f3e82cd76a34ff522
parent129c652ff178da75a078bffe70014505f93e3de9 (diff)
parent05e2472de7f5bca8686cb38be042949a51d0c6a4 (diff)
Merge pull request #17082 from anlancs/zebra/add-debug-flags-fix
zebra: add back one field for debug
-rw-r--r--zebra/interface.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index d146004781..f1f1b17209 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -1999,10 +1999,9 @@ static void zebra_if_dplane_ifp_handling(struct zebra_dplane_ctx *ctx)
!CHECK_FLAG(ifp->status, ZEBRA_INTERFACE_ACTIVE)) {
/* Add interface notification from kernel */
if (IS_ZEBRA_DEBUG_KERNEL)
- zlog_debug(
- "RTM_NEWLINK ADD for %s(%u) vrf_id %u type %d sl_type %d master %u",
- name, ifindex, vrf_id, zif_type,
- zif_slave_type, master_ifindex);
+ zlog_debug("RTM_NEWLINK ADD for %s(%u) vrf_id %u type %d sl_type %d master %u flags 0x%llx",
+ name, ifindex, vrf_id, zif_type, zif_slave_type,
+ master_ifindex, (unsigned long long)flags);
if (ifp == NULL) {
/* unknown interface */
@@ -2087,10 +2086,9 @@ static void zebra_if_dplane_ifp_handling(struct zebra_dplane_ctx *ctx)
/* Interface update. */
if (IS_ZEBRA_DEBUG_KERNEL)
- zlog_debug(
- "RTM_NEWLINK update for %s(%u) sl_type %d master %u",
- name, ifp->ifindex, zif_slave_type,
- master_ifindex);
+ zlog_debug("RTM_NEWLINK update for %s(%u) sl_type %d master %u flags 0x%llx",
+ name, ifp->ifindex, zif_slave_type, master_ifindex,
+ (unsigned long long)flags);
set_ifindex(ifp, ifindex, zns);
ifp->mtu6 = ifp->mtu = mtu;