summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2004-11-25 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-252-4/+18
| | | | | | | * pid_output.c: (pid_output_lock) Fix 2 bugs: when locking, should set l_whence to SEEK_SET, not SEEK_END. And after writing new pid to file, must ftruncate to eliminate any extraneous bytes left over from the last time a pid was written.
* In zlog_signal, should probably check the return code from backtrace, justajs2004-11-241-1/+2
| | | | to be safe.
* In zlog_signal, change type of size since backtrace actually returns an int.ajs2004-11-241-1/+1
|
* 2004-11-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-247-5/+49
| | | | | | | | | * zassert.h: New header file to declare a quagga-specific assert macro. * log.c: (_zlog_assert_failed) New function called when assert fails to log the error and abort. * zebra.h: Include "zassert.h" instead of <assert.h>. * regex.c: Include "zassert.h" instead of <assert.h>. * dict.c: Include "zassert.h" instead of <assert.h>.
* 2004-11-24 Paul Jakma <paul@dishone.st>paul2004-11-242-1/+8
| | | | * TODO: Add source routing, zebra filtering and lib/ documenting.
* 2004-11-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-234-2/+209
| | | | | | | | | | | | | | | * sigevent.c: (signal_init) Set up some default signal handlers so that processes will issue an error message before terminating or dumping core. (trap_default_signals) New function to set up signal handlers for various signals that may kill the process. (exit_handler) Call zlog_signal, then _exit. (core_handler) Call zlog_signal, then abort. * log.h: Declare new function zlog_signal. * log.c: (zlog_signal) New function to log information about a received signal before the process dies. Try to log a backtrace also. (quagga_signal_handler,signal_set) Should be static.
* 2004-11-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-235-194/+92
| | | | | | | | | | | | | | | | | * log.c: (vzlog) Take a single va_list argument and use va_copy as necessary for multiple traversals. (zlog) Pass only one va_list to vzlog. (zlog_*,plog_*) Use a macro for boilerplate code; pass only one va_list to vzlog. (zlog_set_file) Remove unused 2nd argument (flags). (zlog_save_cwd,zlog_get_cwd,zlog_free_cwd) Remove unused functions. * log.h: Remove ZLOG_*_INDEX defines (no longer used). Remove unused 2nd argument from zlog_set_file prototype. Fix prototype for zlog_rotate. * command.c: (config_log_file) Remove unused 2nd arg to zlog_set_file. * vty.c: (vty_out) Fix stdarg usage to perform multiple traversals properly. (vty_log) Must use va_copy for multiple traversals of va_list arg.
* Note C99 requirement.gdt2004-11-231-1/+3
|
* note that OpenBSD versions are for 3.6.gdt2004-11-231-3/+3
|
* Note OpenBSD versions (thanks to Gernot W. Schmied).gdt2004-11-221-2/+12
| | | | | Note that texinfo is not really needed, since quagga.info is in CVS, and explain the situation.
* 2004-11-22 Paul Jakma <paul@dishone.st>paul2004-11-222-1/+5
| | | | * bgpd.8: escape -/+ signs, reported by ESR to bug-zebra.
* 2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-2050-214/+220
| | | | | * global: Replace strerror with safe_strerror. And vtysh/vtysh.c needs to include "log.h" to pick up the declaration.
* Fix previous change to use new function safe_strerror instead of strerror.ajs2004-11-191-1/+1
|
* 2004-11-19 David Young <dyoung@pobox.com>ajs2004-11-193-0/+15
| | | | * log.c: (safe_strerror) New function: safe wrapper for strerror.
* 2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-192-2/+8
| | | | | * sockopt.c: (setsockopt_so_recvbuf) Stop error message from being printed every time.
* Make quagga.info in cvs actually useful for those who haven't latesthasso2004-11-194-2/+13
| | | | | | makeinfo: * Don't attempt to generate it after every ./configure. * Don't remove it while cleaning up.
* add note about alignment in LS updates due to opaque LSAs.gdt2004-11-171-0/+119
|
* 2004-11-17 Paul Jakma <paul@dishone.st>paul2004-11-172-5/+6
| | | | | * INSTALL.quagga.txt: texinfo version corrected, so section on that 4.7-x being unknown is not needed.
* 2004-11-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-163-19/+25
| | | | | | * memory.h: Fix prototype for memory_init(). * memory.c: Declare many functions and data structures static instead of global. Fix prototype for memory_init().
* 2004-11-15 Paul Jakma <paul@dishone.st>paul2004-11-153-1/+6052
| | | | | | * quagga.info: Add generated file to CVS, as it requires most recent texinfo to build, until such time as texinfo 4.7 is more prevalent.
* Note that autoreconf should be invoked as 'autoreconf -i'.ajs2004-11-151-2/+2
|
* Note that <dollar>Id:$ should be included in all files.gdt2004-11-151-2/+6
|
* Rationalize CMSG_SPACE usage:gdt2004-11-155-8/+30
| | | | | | | | | | | | | | | in lib/zebra.h, ensure that RFC3542-required CMSG_SPACE and CMSG_LEN are defined. Warn if alignment assumptions are made, since they are i386-centric. in lib/sockopt.h, declare that sockopt sizes are without CMSG_SPACE-required padding - just simple sizeof. in ospfd/ospf_packet.c, simply use CMSG_SPACE This should remove all instances of CMSG_ALIGN from the source code. This is a nonstandard, though rational, construct; quagga should use only those defines in RFC3542.
* Make explicit that bumping required tool versions needs thought.gdt2004-11-151-1/+7
|
* Note that either BSD make or GNU make works, and note versions.gdt2004-11-151-14/+21
| | | | | Adjust required texinfo version to 4.7 from 4.7-4. Clarify quagga.info build process.
* 2004-11-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-152-16/+52
| | | | | | | | | * memory.c: (zerror) Use zlog_err instead of fprintf to stderr. Instead of exiting, log currenty memory usage and then abort. (log_memstats) New function to log memory statistics, called by zerror. (show_memory_all) Loop over new mlists array instead of calling show_memory_vty separately for each memory_list.
* Add $Id:$.gdt2004-11-151-1/+17
| | | | | | | | | | Add 'philosophy' note about balance between modern and being ok for those tracking stable. question 4.7-4 as a texinfo version (no such nomenclature on texinfo site - something specific to some Linux distribution?). Note that NetBSD provides texinfo 4.6 in the base system.
* 2004-11-15 Paul Jakma <paul@dishone.st>paul2004-11-153-6/+9
| | | | * ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.
* 2004-11-15 Paul Jakma <paul@dishone.st>paul2004-11-152-554/+559
| | | | | * routeserver.texi: Strip ctrl-M from line endings, note by sigma@smx.pair.com
* 2004-11-12 Paul Jakma <paul@dishone.st>paul2004-11-122-1/+12
| | | | | | * ospf_ia.c: (process_summary_lsa) Only an ABR has any reason to ignore stub area summary default. Even so it seems a strange check, add a comment to that effect.
* 2004-11-12 Paul Jakma <paul@dishone.st>paul2004-11-123-6/+57
| | | | | * INSTALL.quagga.txt: Some quagga specific INSTALL notes. * README: s/GNU Zebra/Quagga/ and refer to IS-IS support.
* 2004-11-12 Paul Jakma <paul@dishone.st>paul2004-11-123-181/+4
| | | | | | * INSTALL: update-autotools, autoreconf -i will install this, remove the file so it always matches the autoconf which created configure (ie the quagga snapshot producing host).
* - urg, fix the missing close bracket from previous commitpaul2004-11-121-2/+2
|
* 2004-11-12 Paul Jakma <paul@dishone.st>paul2004-11-122-3/+9
| | | | | | * configure.ac: Fix AC_CONFIG_FILES, the chmod seems to run for every input file, should be only be for vtysh/extract.pl, so that should be a seperate AC_CONFIG_FILES.
* 2004-11-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-112-8/+12
| | | | | * vtysh.c: (vtysh_client_execute) Fix flaws in detecting trailing '\0' chars and command return code.
* 2004-11-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-102-0/+15
| | | | * redhat/quagga.spec.in: add comments showing how to get gcc verbosity
* Remove unused dont_more variable in vty_flush and add return 0 to vtysh_write.ajs2004-11-101-1/+1
|
* 2004-11-09 Paul Jakma <paul@dishone.st>paul2004-11-092-174/+82
| | | | | | | * bgp_nexthop.c: collapse bgp_connected_ipvX, bgp_nexthop_cache_ipvX and cache{1,2}.. into arrays of tables and hence collapse bgp_scan_ipv{4,6} into a single bgp_scan function. Tested, though a long time ago (and this change was hand-merged).
* 2004-11-08 Paul Jakma <paul@dishone.st>quagga_0_97_3_releasepaul2004-11-082-2/+6
| | | | * configure.ac: bump version to 0.97.3, release imminent.
* - use makeinfo --html to generate quagga.htmlpaul2004-11-081-1/+4
|
* Oops, wrong date on changelog entries..paul2004-11-082-2/+2
|
* 2004-11-07 Paul Jakma <paul@dishone.st>paul2004-11-082-3/+9
| | | | | | * Makefile.am: Add routeserver.texi to quagga_TEXINFOS. Add quagga.info to clean files list (would have thought automake would have done this, but it doesnt seem to)
* 2004-11-07 Paul Jakma <paul@dishone.st>paul2004-11-083-5/+18
| | | | | | | | | | * buffer.c: Add missing include of log.h. (buffer_flush_available) written is compared against mostly against unsigned types, only for the writev do we need signed compare, so declare it as size_t and cast it to ssize_t just for the error compare when we've called writev. * buffer.h: Add comment that buffer data sizes really should be size_t.
* 2004-11-07 Paul Jakma <paul@dishone.st>paul2004-11-082-0/+7
| | | | | | * quagga.texi: include routeserver.texi. TODO: integrate the current multiple-instance orientated bgpd route-server section with the new route-server docs.
* - ignore missing, depcomp and install-sh, the recently removed files.paul2004-11-081-0/+3
|
* 2004-11-06 Paul Jakma <paul@dishone.st>paul2004-11-077-1020/+23
| | | | | | | | | | | | * configure.ac: Arguments to AC_OUTPUT is deprecated, use AC_CONFIG_FILES instead. Rearrange the order slightly to put the Makefiles first (silly aesthetic thing, dont know why I had to do this ;) ). Add doc/defines.texi to the list. * NEWS: bgp route-server support added, refer to docs. * update-autotools: call automake with --add-missing and --copy, former is important for obvious reasons, latter for dist files, and --gnu to enable whatever extra goodness checks. * {depcomp, install-sh, missing}: removed, auto-generated files.
* 2004-11-07 Paul Jakma <paul@dishone.st>paul2004-11-072-2/+8
| | | | * lib/version.h.in: add autoconf configure_input output var
* * Sun Nov 07 2004 Paul Jakma <paul@dishone.st>paul2004-11-071-0/+7
| | | | - Fix with_ipv6 set to 0 build
* 2004-11-07 Paul Jakma <paul@dishone.st>paul2004-11-078-68/+95
| | | | | | | | | | | | | * Makefile.am: Add automatic rule to build pdf's from eps figures. Clean *.pdf. Add rule for quagga.pdf (as the eps.pdf pattern probably otherwise will override automake's rule for quagga.pdf) * overview.texi: URL was causing TeX overfull, put on newline. * quagga.texi: Put the copyright notice into @copying section, as is proper. Strip trailling space from the main menu lines. * rip(ng)?d.texi: Minor reformatting. * Add the route server docs. * bgpd.texi: remove unneeded page breaks. The 6Bone example overflows though.
* 2004-11-07 Paul Jakma <paul@dishone.st>paul2004-11-076-0/+7412
| | | | | | | * Add the route server docs. * routeserver.texi: new file, texinfo'fied and slightly modified version of the original TeX from James Luis Rubio. * fig-*.eps: new files, diagrammes.