diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-11 13:09:21 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-15 15:32:09 +0100 |
commit | fa787f911c3063133e4cdc7788645766e64376eb (patch) | |
tree | d2ff9a6a911342d5e21c61a1edc7ec07af9922ce /ospfd/ospf_zebra.c | |
parent | lib, ospfd, ripd: Convert if_lookup_address to be vrf aware (diff) | |
download | frr-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.c | 3 |
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 |