pimd: Log ifindex found for an interface when zebra lib reports a new connected address.
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index fbc7c16..f184024 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -150,7 +150,7 @@
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 @@
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",