]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: fix crash no router ospf/show running 1502/head
authorChirag Shah <chirag@cumulusnetworks.com>
Mon, 4 Dec 2017 22:08:23 +0000 (14:08 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Tue, 5 Dec 2017 00:38:16 +0000 (16:38 -0800)
commit545f0503edcb6c65cd15884ecb27ec567c8c634d
tree2dc4907153ee16552c1465938e5dc79bc77ef2a6
parentc7fd72d2f7ef84f27db9a7e4263bbaa5e6c48c35
ospfd: fix crash no router ospf/show running

no router ospf removes default ospf instance,
if there are other non-default vrf instance present
with interface level configuration. Lookup ospf instance
for ifp->vrf_id, if ospf instnace present use that
   to access 'instance id'.

Ticket: CM-19078
Testing Done:
run no router ospf and show running config along with other
non-default vrf aware ospf configurations.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospfd/ospf_vty.c