summaryrefslogtreecommitdiffstats
path: root/ospfd/ospfd.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2017-10-02 20:47:02 +0200
committerChirag Shah <chirag@cumulusnetworks.com>2017-10-03 18:22:47 +0200
commitf1a0393033571f6eb78bafd77ea715c0634f1535 (patch)
tree9afeafe9ec41c07e9b0546a905d079cf78a134f2 /ospfd/ospfd.c
parentospfd: fix vrf bind sock non-linux system (diff)
downloadfrr-f1a0393033571f6eb78bafd77ea715c0634f1535.tar.xz
frr-f1a0393033571f6eb78bafd77ea715c0634f1535.zip
ospfd: OSPFv2 VRF remove iflist from master
Remove instances of ospf master's iflist and use vrf_list with ospf vrf_id. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r--ospfd/ospfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index ac88ff292..507c97d97 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -1260,7 +1260,7 @@ static void ospf_network_run(struct prefix *p, struct ospf_area *area)
ospf_router_id_update(area->ospf);
/* Get target interface. */
- for (ALL_LIST_ELEMENTS_RO(om->iflist, node, ifp))
+ for (ALL_LIST_ELEMENTS_RO(vrf_iflist(area->ospf->vrf_id), node, ifp))
ospf_network_run_interface(area->ospf, ifp, p, area);
}