]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: Fix crash with usage of incorrect command
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 9 Sep 2016 16:41:35 +0000 (12:41 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 9 Sep 2016 18:53:24 +0000 (14:53 -0400)
commitb8dfa5447828b06df05eadfa11174fe7d272a0d2
treee7b955c8b7da5511b2387955ed9a8fda4284aee2
parentc253dcb5d80aa60112bb31ab95ae9839081064d3
ospfd: Fix crash with usage of incorrect command

Entering 'show ip ospf interface json' causes ospf
to crash.

Entering 'show ip ospf interface <intf> json' causes
ospf to crash if intf has no neighbors on the otherside

Modify the code to not crash in these cases.

Ticket: CM-12776
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
ospfd/ospf_vty.c