summaryrefslogtreecommitdiffstats
path: root/vrrpd/vrrp_zebra.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-08-01 19:35:09 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-08-02 19:20:44 +0200
commit76bcde9e5dc1400b0648b346944f38c2c2d9fa97 (patch)
treea52f74c2dc8d60519615394e90fdddd6224549d6 /vrrpd/vrrp_zebra.c
parentMerge pull request #4766 from donaldsharp/redist_small_fix (diff)
downloadfrr-76bcde9e5dc1400b0648b346944f38c2c2d9fa97.tar.xz
frr-76bcde9e5dc1400b0648b346944f38c2c2d9fa97.zip
vrrpd: add more dbg logs around interfaces
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd/vrrp_zebra.c')
-rw-r--r--vrrpd/vrrp_zebra.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/vrrpd/vrrp_zebra.c b/vrrpd/vrrp_zebra.c
index dbfcbe945..72b77c131 100644
--- a/vrrpd/vrrp_zebra.c
+++ b/vrrpd/vrrp_zebra.c
@@ -38,9 +38,11 @@ static void vrrp_zebra_debug_if_state(struct interface *ifp, vrf_id_t vrf_id,
const char *func)
{
DEBUGD(&vrrp_dbg_zebra,
- "%s: %s index %d(%u) flags %ld metric %d mtu %d operative %d",
- func, ifp->name, ifp->ifindex, vrf_id, (long)ifp->flags,
- ifp->metric, ifp->mtu, if_is_operative(ifp));
+ "%s: %s index %d(%u) parent %d mac %02x:%02x:%02x:%02x:%02x:%02x flags %ld metric %d mtu %d operative %d",
+ func, ifp->name, vrf_id, ifp->link_ifindex, ifp->ifindex,
+ ifp->hw_addr[0], ifp->hw_addr[1], ifp->hw_addr[2],
+ ifp->hw_addr[3], ifp->hw_addr[4], ifp->hw_addr[5],
+ (long)ifp->flags, ifp->metric, ifp->mtu, if_is_operative(ifp));
}
static void vrrp_zebra_debug_if_dump_address(struct interface *ifp,