From 85385f7eeee14d529065db7b863478c3ba455dd4 Mon Sep 17 00:00:00 2001 From: Everton Marques Date: Mon, 19 Jan 2015 18:25:45 -0200 Subject: pimd: Log ifindex found for an interface when zebra lib reports a new connected address. --- pimd/pim_zebra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pimd/pim_zebra.c') diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c index fbc7c16e..f1840245 100644 --- a/pimd/pim_zebra.c +++ b/pimd/pim_zebra.c @@ -150,7 +150,7 @@ static int pim_zebra_if_state_up(int command, struct zclient *zclient, if (!ifp) return 0; - zlog_info("INTERFACE UP: %s", ifp->name); + zlog_info("INTERFACE UP: %s ifindex=%d", ifp->name, ifp->ifindex); if (PIM_DEBUG_ZEBRA) { zlog_debug("%s: %s index %d flags %ld metric %d mtu %d operative %d", @@ -182,7 +182,7 @@ static int pim_zebra_if_state_down(int command, struct zclient *zclient, if (!ifp) return 0; - zlog_info("INTERFACE DOWN: %s", ifp->name); + zlog_info("INTERFACE DOWN: %s ifindex=%d", ifp->name, ifp->ifindex); if (PIM_DEBUG_ZEBRA) { zlog_debug("%s: %s index %d flags %ld metric %d mtu %d operative %d", -- cgit v1.2.3