summaryrefslogtreecommitdiff
path: root/pimd/pim_zlookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_zlookup.c')
-rw-r--r--pimd/pim_zlookup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pimd/pim_zlookup.c b/pimd/pim_zlookup.c
index 28777e4947..87cf434133 100644
--- a/pimd/pim_zlookup.c
+++ b/pimd/pim_zlookup.c
@@ -258,8 +258,9 @@ static int zclient_read_nexthop(struct pim_instance *pim,
nexthop_tab[num_ifindex].ifindex = nh_ifi;
++num_ifindex;
#else
- zlog_warn("cannot use IPv4 nexthop %pI4 for IPv6 %pPA",
- &nh_ip4, &addr);
+ zlog_warn(
+ "cannot use IPv4 nexthop %pI4(%d) for IPv6 %pPA",
+ &nh_ip4, nh_ifi, &addr);
#endif
break;
case NEXTHOP_TYPE_IPV6_IFINDEX: