summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_spf.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-11 13:47:46 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-15 15:43:21 +0100
commitbaaea325e6a425321296cff40cc7a3b47b53efb3 (patch)
tree0431d956e172b0008fec32b596b15c5fcafbb8ee /ospfd/ospf_spf.c
parentlib: Refactor if_get_by_name_len to be VRF aware (diff)
downloadfrr-baaea325e6a425321296cff40cc7a3b47b53efb3.tar.xz
frr-baaea325e6a425321296cff40cc7a3b47b53efb3.zip
*: Refactor ifindex2ifname to be VRF aware
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_spf.c')
-rw-r--r--ospfd/ospf_spf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_spf.c b/ospfd/ospf_spf.c
index 077d0e68a..31f0d9d28 100644
--- a/ospfd/ospf_spf.c
+++ b/ospfd/ospf_spf.c
@@ -1159,14 +1159,14 @@ ospf_rtrs_print (struct route_table *rtrs)
{
if (IS_DEBUG_OSPF_EVENT)
zlog_debug (" directly attached to %s\r\n",
- ifindex2ifname (path->ifindex));
+ ifindex2ifname (path->ifindex), VRF_DEFAULT);
}
else
{
if (IS_DEBUG_OSPF_EVENT)
zlog_debug (" via %s, %s\r\n",
inet_ntoa (path->nexthop),
- ifindex2ifname (path->ifindex));
+ ifindex2ifname (path->ifindex), VRF_DEFAULT);
}
}
}