summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-11 13:13:49 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-15 15:33:16 +0100
commita90607a4ba81caec852bd2e15f541ff12b08c031 (patch)
tree23c32f169d41ac7fa5823a01cf5776d1040138a7 /ospf6d
parentlib, ospfd: Refactor if_lookup_by_name_len (diff)
downloadfrr-a90607a4ba81caec852bd2e15f541ff12b08c031.tar.xz
frr-a90607a4ba81caec852bd2e15f541ff12b08c031.zip
lib, ospf6d: Refactor if_lookup_prefix
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_intra.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ospf6d/ospf6_intra.c b/ospf6d/ospf6_intra.c
index d93406fb6..646196385 100644
--- a/ospf6d/ospf6_intra.c
+++ b/ospf6d/ospf6_intra.c
@@ -30,6 +30,7 @@
#include "table.h"
#include "vty.h"
#include "command.h"
+#include "vrf.h"
#include "ospf6_proto.h"
#include "ospf6_message.h"
@@ -1311,7 +1312,7 @@ ospf6_intra_prefix_lsa_add (struct ospf6_lsa *lsa)
if (direct_connect)
{
- ifp = if_lookup_prefix(&route->prefix);
+ ifp = if_lookup_prefix(&route->prefix, VRF_DEFAULT);
if (ifp)
ospf6_route_add_nexthop (route, ifp->ifindex, NULL);
}