summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-11 13:09:21 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-15 15:32:09 +0100
commitfa787f911c3063133e4cdc7788645766e64376eb (patch)
treed2ff9a6a911342d5e21c61a1edc7ec07af9922ce /ospfd/ospf_zebra.c
parentlib, ospfd, ripd: Convert if_lookup_address to be vrf aware (diff)
downloadfrr-fa787f911c3063133e4cdc7788645766e64376eb.tar.xz
frr-fa787f911c3063133e4cdc7788645766e64376eb.zip
lib, ospfd: Refactor if_lookup_by_name_len
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_zebra.c')
-rw-r--r--ospfd/ospf_zebra.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index b0ff5d0e3..cb14273ee 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -165,7 +165,8 @@ zebra_interface_if_lookup (struct stream *s, vrf_id_t vrf_id)
/* And look it up. */
return if_lookup_by_name_len(ifname_tmp,
- strnlen(ifname_tmp, INTERFACE_NAMSIZ));
+ strnlen(ifname_tmp, INTERFACE_NAMSIZ),
+ VRF_DEFAULT);
}
static int