diff options
| author | Chirag Shah <chirag@cumulusnetworks.com> | 2017-10-02 11:47:02 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@cumulusnetworks.com> | 2017-10-03 09:22:47 -0700 |
| commit | f1a0393033571f6eb78bafd77ea715c0634f1535 (patch) | |
| tree | 9afeafe9ec41c07e9b0546a905d079cf78a134f2 /ospfd/ospf_vty.c | |
| parent | e1b18df1ea6b001486342e14982177531eae8e45 (diff) | |
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/ospf_vty.c')
| -rw-r--r-- | ospfd/ospf_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index a79a1ce9a4..3840bc4170 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -9328,7 +9328,7 @@ static int ospf_config_write_one(struct vty *vty, struct ospf *ospf) if (ospf->passive_interface_default == OSPF_IF_PASSIVE) vty_out(vty, " passive-interface default\n"); - for (ALL_LIST_ELEMENTS_RO(om->iflist, node, ifp)) + for (ALL_LIST_ELEMENTS_RO(vrf_iflist(ospf->vrf_id), node, ifp)) if (OSPF_IF_PARAM_CONFIGURED(IF_DEF_PARAMS(ifp), passive_interface) && IF_DEF_PARAMS(ifp)->passive_interface |
