diff options
author | Everton Marques <everton.marques@gmail.com> | 2015-01-19 18:25:45 -0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2015-02-04 06:08:02 +0100 |
commit | 85385f7eeee14d529065db7b863478c3ba455dd4 (patch) | |
tree | 2bd0f78e9da970f6153fd266d2214fe91c33dac9 /pimd/pim_zebra.c | |
parent | d632689579bbcbfb5f38c3faf05ad675e002c059 (diff) | |
download | quagga-85385f7eeee14d529065db7b863478c3ba455dd4.tar.bz2 quagga-85385f7eeee14d529065db7b863478c3ba455dd4.tar.xz |
pimd: Log ifindex found for an interface when zebra lib reports a new connected address.
Diffstat (limited to 'pimd/pim_zebra.c')
-rw-r--r-- | pimd/pim_zebra.c | 4 |
1 files changed, 2 insertions, 2 deletions
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", |