]> git.puffer.fish Git - mirror/frr.git/commit
[daemon startup] Add --dry-run/-C argument to daemons, to check config file syntax
authorPaul Jakma <paul.jakma@sun.com>
Sun, 15 Oct 2006 23:35:57 +0000 (23:35 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Sun, 15 Oct 2006 23:35:57 +0000 (23:35 +0000)
commit876b8be0ab24721e8f94d47dde022563f76db992
tree60afcf14974d39a081b64c71191038701e73a3f5
parent98954844ae56d142e96341d5dff959ec5518111e
[daemon startup] Add --dry-run/-C argument to daemons, to check config file syntax

2006-10-04 Oliver Hookins <ohookins@gmail.com>

* bgpd/bgp_main.c: Add configuration check option, with
'-C' rather than '-c' for consistency between daemons.
* isisd/isis_main.c: ditto
* ospf6d/ospf6_main.c: ditto
* ospfd/ospf_main.c: ditto
* ripngd/ripng_main.c: ditto
* vtysh/vtysh_main.c: ditto
* ripd/rip_main.c: Change the config check option to
'-C' and tidy up the code.
* zebra/main.c: ditto

2006-10-04 Stergiakis Alexandros <astergiakis@antcor.com>

* ripd/rip_main.c: This trivial patch introduces a new
  command-line option '-c', which instructs zebra/ripd
  to check its configuration file for validity, print
  any error message, and then exit. This is useful when
  the configuration file is edited by hand or otherwise,
  and you simply want to validate it without any other
  effect.
* zebra/main.c: ditto
ChangeLog
bgpd/bgp_main.c
isisd/isis_main.c
ospf6d/ospf6_main.c
ospfd/ospf_main.c
ripd/rip_main.c
ripngd/ripng_main.c
vtysh/vtysh_main.c
zebra/main.c