mirror_frr/ospfd
Donald Sharp db7c85284f Quagga: Fixup cli and json keyword
The json keyword was being read incorrectly.
Basically some commands read a variable # of arguments
and in ospf the command values were being placed into
argc and argv.  With a variable # of arguments their
existed a possibility that less arguments would be read
from the cli than were being tested for in the command function
handler.  This caused core dumps in some situations.

All code to read to decide to use the json keyword has
been centralized through a function and all code
converted to use it, irrelevant if it exhibited the bug

Ticket: CM-8278
Reviewed by: CCR-3830
Testing: OSPF no longer crashes and all other test suites still run

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2015-11-18 15:36:04 -08:00
..
.gitignore [administrivia] Git should ignore backup files and .loT files 2008-08-22 20:00:46 +01:00
ChangeLog.opaque.txt Initial revision 2003-02-03 16:31:16 +00:00
Makefile.am Add --enable-werror to configure 2015-07-25 16:05:56 -07:00
ospf_abr.c ospfd-spf-stats.patch 2015-05-19 16:36:05 -07:00
ospf_abr.h ospf6d: ospfv3-abr-ecmp-support.patch 2015-05-19 18:03:39 -07:00
ospf_api.c ospfd: ospfd-warnings.patch 2015-05-19 18:29:14 -07:00
ospf_api.h 2005-05-06 Paul Jakma <paul.jakma@sun.com> 2005-05-06 21:37:42 +00:00
ospf_apiserver.c ospfd: compile warning cleanups 2013-01-07 09:59:59 -08:00
ospf_apiserver.h ospf: Fix OSPF API and ospf-te LSA refreshers to match recent API change 2011-04-13 15:13:33 +01:00
ospf_asbr.c Zebra: Make redistribute do replace instead of del/add for better convergence 2015-10-20 21:38:38 -07:00
ospf_asbr.h Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
ospf_ase.c ospfd: ospfd-warnings.patch 2015-05-19 18:29:14 -07:00
ospf_ase.h 2005-05-06 Paul Jakma <paul.jakma@sun.com> 2005-05-06 21:37:42 +00:00
ospf_bfd.c *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
ospf_bfd.h Support of BFD status in Quagga 2015-08-31 14:56:11 -07:00
ospf_dump.c Add "no debug ospf" and "no debug ospf6" commands to disable all ospf debugging 2015-11-03 10:37:25 -08:00
ospf_dump.h ospfd: introduce ospf_auth_type_str[] 2012-03-12 11:05:34 +01:00
ospf_flood.c *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
ospf_flood.h ospfd: Fix maxage/flush to not try flood twice, remember maxages for longer 2010-12-08 17:13:19 +00:00
ospf_ia.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
ospf_ia.h 2005-05-06 Paul Jakma <paul.jakma@sun.com> 2005-05-06 21:37:42 +00:00
ospf_interface.c *: call if_init()/if_terminate() from vrf_init()/vrf_terminate() 2015-10-29 17:00:32 -07:00
ospf_interface.h Fixup of a few missed warnings after --enable-werror turned on 2015-07-25 16:13:58 -07:00
ospf_ism.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
ospf_ism.h [ospfd] Make OSPF_ISM_TIMER_OFF macro safer. 2005-11-16 19:33:22 +00:00
ospf_lsa.c configuration options for faster OSPF convergence 2015-07-31 06:29:35 -07:00
ospf_lsa.h Command to adjust min-arrival value in Milliseconds. 2015-05-19 18:04:07 -07:00
ospf_lsdb.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
ospf_lsdb.h ospf: Convert MAX_AGE LSA list to tree 2013-01-07 09:59:43 -08:00
ospf_main.c *: call if_init()/if_terminate() from vrf_init()/vrf_terminate() 2015-10-29 17:00:32 -07:00
ospf_neighbor.c Support of BFD status in Quagga 2015-08-31 14:56:11 -07:00
ospf_neighbor.h Support of BFD status in Quagga 2015-08-31 14:56:11 -07:00
ospf_network.c Set the RCVBUF and SNDBUF sizes to the maximum possible amount to 2015-05-19 17:24:42 -07:00
ospf_network.h ospfd: compile warning cleanups 2013-01-07 09:59:59 -08:00
ospf_nsm.c This patch changes ospfd from only listening mode for BFD status updates to interactive mode of dynamically registering/deregistering neighbors discovered on BFD enabled interfaces with PTM/BFD through zebra. Neighbor is registered with BFD when 2-way adjacency is established and deregistered when adjacency goes down if the BFD is enabled on the interface through which the neighbor was discovered. 2015-07-22 12:35:37 -07:00
ospf_nsm.h ospfd: Update nsm_change_state to static scope, as it is not called from elsewhere 2013-01-07 09:59:57 -08:00
ospf_opaque.c configuration options for faster OSPF convergence 2015-07-31 06:29:35 -07:00
ospf_opaque.h ospfd: Compile fix for opaque support 2011-03-22 15:23:55 +00:00
ospf_packet.c OSPF: Fix zlog_warn to zlog_debug in some unlikely scenarios 2015-11-09 06:51:45 -08:00
ospf_packet.h Send ARP requests proactively during OSPF Adjacency formation. 2015-05-19 17:24:41 -07:00
ospf_route.c Unnumbered interface support. 2015-05-19 17:58:13 -07:00
ospf_route.h Unnumbered interface support. 2015-05-19 17:58:13 -07:00
ospf_routemap.c ospfd: ospfd-warnings.patch 2015-05-19 18:29:14 -07:00
ospf_snmp.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
ospf_snmp.h 2005-09-29 Alain Ritoux <alain.ritoux@6wind.com> 2005-09-29 16:34:30 +00:00
ospf_spf.c ospfd: ospfd-warnings.patch 2015-05-19 18:29:14 -07:00
ospf_spf.h ospfd-spf-stats.patch 2015-05-19 16:36:05 -07:00
ospf_te.c Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
ospf_te.h ospfd: Changed TE instance check to remove -Wtype-limits warning 2013-01-07 09:59:53 -08:00
ospf_vty.c Quagga: Fixup cli and json keyword 2015-11-18 15:36:04 -08:00
ospf_vty.h Support for 'clear ip ospf interface [IFNAME]' 2015-05-19 17:58:13 -07:00
ospf_zebra.c Zebra: Remove reliance on NEXTHOP_TYPE_IPV4_ONLINK 2015-11-16 12:48:07 -08:00
ospf_zebra.h lib: zclient.c remove extern struct thread_master * 2015-09-23 13:26:56 -07:00
OSPF-ALIGNMENT.txt add note about alignment in LS updates due to opaque LSAs. 2004-11-17 17:59:52 +00:00
OSPF-MIB.txt spelling: s/supress/suppress/ 2004-11-05 13:24:12 +00:00
OSPF-TRAP-MIB.txt Initial revision 2002-12-13 20:15:29 +00:00
ospfd.c Enable OSPF "log-adjacency-changes" by default 2015-11-03 10:48:30 -08:00
ospfd.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
ospfd.h configuration options for faster OSPF convergence 2015-07-31 06:29:35 -07:00