Go to file
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
babeld *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
bgpd Quagga: Fixup cli and json keyword 2015-11-18 15:36:04 -08:00
cumulus/etc quagga netlink buffer size increase 2015-09-11 05:44:31 -07:00
debian debian: Modify Quagga cumulus version in debian packaging 2015-11-04 15:44:29 -08:00
doc BGP: Update dump to allow Extended Time Format 2015-11-17 13:32:56 -08:00
fpm fpm: Add public header for Forwarding Plane Manager 2012-11-30 21:41:17 +01:00
init build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
isisd *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
lib Quagga: Fixup cli and json keyword 2015-11-18 15:36:04 -08:00
m4 build: fix "pragma weak" mixups 2013-02-09 03:00:12 +01:00
ospf6d Merge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into cmaster 2015-11-03 22:05:02 -08:00
ospfclient Add --enable-werror to configure 2015-07-25 16:05:56 -07:00
ospfd Quagga: Fixup cli and json keyword 2015-11-18 15:36:04 -08:00
pkgsrc build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
ports build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
redhat build: update quagga.spec.in 2013-02-23 19:43:18 +01:00
ripd *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
ripngd *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
solaris build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
tests bgpd: backout change of bm->master and master 2015-10-13 13:00:55 -07:00
tools Display the BGP ipv4 unicast configuration under "address-family ipv4 unicast". 2015-10-20 22:00:40 +00:00
vtysh BGP: extcommunity-list are displayed before community-list 2015-11-18 18:54:23 +00:00
watchquagga Fix watchquagga to watch just one daemon 2015-08-24 10:50:21 -07:00
zebra Quagga: Set MULTIPATH_NUM to 64 when user specifies 0 from cli 2015-11-17 08:13:23 -08:00
.gitignore git: add (generated) cscope files to .gitignore 2015-09-22 11:54:09 -07:00
AUTHORS Initial revision 2002-12-13 20:15:29 +00:00
bootstrap.sh autoreconf -i 2007-02-06 19:28:28 +00:00
buildtest.sh Add --enable-werror to configure 2015-07-25 16:05:56 -07:00
ChangeLog [trivia] Make 'make dist' happy about ChangeLog expunge 2008-08-23 08:36:42 +01:00
configure.ac Quagga: Set MULTIPATH_NUM to 64 when user specifies 0 from cli 2015-11-17 08:13:23 -08:00
COPYING *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
COPYING.LIB *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
HACKING.pending HACKING.pending: Add Quagga-RE details 2012-03-02 11:56:38 +00:00
HACKING.tex HACKING.tex: Change to a LaTeX version of HACKING 2012-03-08 16:14:13 +00:00
INSTALL.quagga.txt build: improve backtrace support/detection 2014-04-01 17:20:44 +02:00
Makefile.am Add json output support for a few BGP show commands 2015-05-19 18:03:48 -07:00
NEWS doc: update NEWS for 0.99.23 changes 2014-06-24 07:12:01 +02:00
README 2004-11-12 Paul Jakma <paul@dishone.st> 2004-11-12 10:30:21 +00:00
README.NetBSD Omit --opaque-lsa from build (now default). 2011-06-28 15:05:05 -04:00
REPORTING-BUGS Update for git and emphasize asking for good reports. 2010-05-05 07:51:26 -04:00
SERVICES 2607/tcp is already used by ospfapi. 2003-12-23 10:42:45 +00:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00
TODO doc: update TODO for ospf6d work & bgp multipath 2013-04-16 11:56:11 +02:00
update-autotools * README.NetBSD: use update-autotools instead of autoreconf 2007-02-02 16:52:38 +00:00

Quagga is free software that manages various IPv4 and IPv6 routing
protocols.

Currently Quagga supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1,
RIPv2, and RIPng as well as very early support for IS-IS.
  
See the file INSTALL.quagga.txt for building and installation instructions.
  
See the file REPORTING-BUGS to report bugs.
  
Quagga is free software. See the file COPYING for copying conditions.