From 2c77ddee4b481a98057ca40c997e58746110607b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 1 May 2020 11:57:02 -0400 Subject: [PATCH] zebra: Display ifindex of interface being installed on When installing a nexthop group, dump out the ifindex of the nexthop being installed as a bit more data for the developer. Signed-off-by: Donald Sharp --- zebra/rt_netlink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index 4630b8a8e9..a65183305e 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -2091,8 +2091,8 @@ static int netlink_nexthop(int cmd, struct zebra_dplane_ctx *ctx) nexthop_done: if (IS_ZEBRA_DEBUG_KERNEL) - zlog_debug("%s: ID (%u): %pNHv vrf %s(%u) %s ", - __func__, id, nh, + zlog_debug("%s: ID (%u): %pNHv(%d) vrf %s(%u) %s ", + __func__, id, nh, nh->ifindex, vrf_id_to_name(nh->vrf_id), nh->vrf_id, label_buf); } -- 2.39.5