summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_abr.c
diff options
context:
space:
mode:
authorKaushik <kaushik@niralnetworks.com>2020-09-01 10:31:49 +0200
committerKaushik <kaushik@niralnetworks.com>2020-09-01 12:02:46 +0200
commitc5d28568c6b71e16fefb3a409159e8fc9742e3f0 (patch)
tree9aa9c4b0944e5f6ed9740c184ca81141edf28f36 /ospf6d/ospf6_abr.c
parentMerge pull request #7025 from opensourcerouting/silence-cli-warning (diff)
downloadfrr-c5d28568c6b71e16fefb3a409159e8fc9742e3f0.tar.xz
frr-c5d28568c6b71e16fefb3a409159e8fc9742e3f0.zip
ospf6d : Preparing for ospf6d VRF support.
1. Removed the VRF_DEFAULT dependency from ospf6d. 2. The dependency on show command still exist will be fixed when the ospf6 master is available. Co-authored-by: Harios <hari@niralnetworks.com> Signed-off-by: Kaushik <kaushik@niralnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_abr.c')
-rw-r--r--ospf6d/ospf6_abr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_abr.c b/ospf6d/ospf6_abr.c
index b33979049..6fe3a289c 100644
--- a/ospf6d/ospf6_abr.c
+++ b/ospf6d/ospf6_abr.c
@@ -72,7 +72,7 @@ static int ospf6_abr_nexthops_belong_to_area(struct ospf6_route *route,
struct ospf6_interface *oi;
oi = ospf6_interface_lookup_by_ifindex(
- ospf6_route_get_first_nh_index(route));
+ ospf6_route_get_first_nh_index(route), area->ospf6->vrf_id);
if (oi && oi->area && oi->area == area)
return 1;
else