summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* enable irdppaul2004-07-281-0/+6
|
* 2004-07-27 Paul Jakma <paul@dishone.st>paul2004-07-272-5/+7
| | | | | | * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from last fix for ospfd wedging due to oversize LSAs: dont list loop on ospf_ls_upd_queue_send() - guaranteed segfault.
* Paul Jakma: forgot an obvious TODOpaul2004-07-271-0/+1
|
* Paul Jakma: update TODO.. there's plenty.paul2004-07-271-5/+35
|
* 2004-07-27 Paul Jakma <paul@dishone.st>paul2004-07-271-1/+1
| | | | * Makefile.am: tests/ must be in dist or building from dist breaks
* 2004-07-27 Paul Jakma <paul@dishone.st>paul2004-07-272-1/+6
| | | | | | * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out the LSA as then free_opaque_info_per_id() can never unlock (and free) the LSA. Reported by Gunnar Stigen.
* 2004-07-26 Paul Jakma <paul@dishone.st>paul2004-07-263-3/+21
| | | | | | * configure.ac: reenable tests/Makefile * tests/Makefile.am: automake file for tests dir * tests/.cvsignore: update
* Use ifp->mtu6 in ospf6d and ripngd.hasso2004-07-236-18/+28
|
* add .libsgdt2004-07-231-0/+1
|
* (somewhat unrelated cleanups, but all are very minor)gdt2004-07-2314-16/+57
| | | | | | | | | | | | | | | 2004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com> * */Makefile.am: Use ../dir/libfoo.la, rather than "-L../dir -lfoo", to avoid linking against installed libraries from a previous version. * {lib,ospfd,ospfclient}/Makefile.am: explicitly define the shared library version number to be 0.0 * configure.ac: remove spurious , so extract.pl is chmod'd +x. * HACKING: explain shared library versioning rules
* 2004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com>gdt2004-07-232-8/+18
| | | | | | | * sockopt.c (getsockopt_ipv4_pktinfo_ifindex): Make this compile on NetBSD, and add comments to make it less confusing. Change the sense of the SUNOS_5 test to make parallel structure between the variables and the code.
* 2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>paul2004-07-238-12/+61
| | | | | | | | | | | | * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups * zserv.c: ditto * ioctl_solaris.c: ditto. * interface.c: cast for LLADDR * interface.h: Add guards, include redistribute.h and remove extraneous definitions of zebra_interface_{up,down}_update * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6 * redistribute.h: include dependent header, zserv.h * zserv.h: include dependent header, rib.h
* 2004-07-23 Paul Jakma <paul@dishone.st>paul2004-07-233-11/+10
| | | | | | * irdp_main.c: use setsockopt_pktinfo_ipv4 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and getsockopt_pktinfo_ifindex()
* Update cvsignore, add .libspaul2004-07-231-0/+1
|
* 2004-07-23 Paul Jakma <paul@dishone.st>paul2004-07-233-11/+7
| | | | | * ospf6_main.c: Delete LOG_PERROR, not portable. * ospf6_network.c: (ospf6_set_pktinfo) use setsockopt_ipv6_pktinfo
* 2004-07-23 Paul Jakma <paul@dishone.st>paul2004-07-233-59/+23
| | | | | | | * ospf_network.c: Replace PKTINFO/RECVIF with call to setsockopt_pktinfo * ospf_packet.c: Use getsockopt_pktinfo_ifindex and SOPT_SIZE_CMSG_PKTINFO_IPV4.
* 2004-07-23 Paul Jakma <paul@dishone.st>paul2004-07-233-2/+159
| | | | | | | | | | | | | | | | | * sockopt.h: Add SOPT_SIZE_CMSG_PKTINFO{_IPV{4,6}} define, for sizeof pktinfo as appropriate, to be used when allocating msg buffers. export setsockopt_pktinfo() and getsockopt_pktinfo_ifindex() * sockopt.c: (setsockopt_pktinfo_ifindex) new function to portably set received ifindex sock option. (getsockopt_pktinfo_ifindex) portably retrieve ifindex. (getsockopt_cmsg_data) retrieve indicated control info from message header. (getsockopt_ipv6_pktinfo_ifindex) ipv6 version of above. (setsockopt_ipv4_pktinfo) v4 version (setsockopt_pktinfo) the exported version (getsockopt_ipv4_pktinfo_ifindex) v4 specific version (getsockopt_pktinfo_ifindex) the exported version
* 2004-07-14 Paul Jakma <paul@dishone.st>paul2004-07-224-46/+100
| | | | | | | | | | | | | | | | | * sigevent.c: (quagga_signal_handler) add a global caught flag, set the flags to a constant rather increment to be kinder. (quagga_sigevent_process) new function, to do core of what quagga_signal_timer did. dont block signals at all as sig->caught is volatile sig_atomic_t and should be safe to access from signal and normal contexts. The signal blocking is unneeded paranoia, but is left intact under an ifdef, should some platform require it. Check global caught flag before iterating through array. (quagga_signal_timer) nearly everything moved to quagga_sigevent_process. Left in under ifdef, in case some platform could use a regular timer check for signals. * sigevent.h: quagga_sigevent_process declaration. * thread.c: (thread_fetch) check for signals at beginning of scheduler loop, check for signals if select returns EINTR.
* 2004-07-22 Paul Jakma <paul@dishone.st>paul2004-07-222-2/+11
| | | | | * configure.ac: modify default CFLAGS to be compiler agnostic build Makefile for tests/ subdir.
* 2004-07-20 Paul Jakma <paul@dishone.st>paul2004-07-201-1/+4
| | | | | * redhat/quagga.spec.in: update for shared lib install, *.la should be in -devel
* 2004-07-17 Paul Jakma <paul@dishone.st>paul2004-07-171-1/+11
| | | | * if.c: (if_cmp_func) Add comment suggested by Greg Troxel.
* 2004-07-14 Paul Jakma <paul@dishone.st>paul2004-07-142-15/+53
| | | | | | | | | | * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for problem reported by Peter Frost amongst others, where function will spin indefinitely if update list contains LSAs greater than MTU-headers or other condition leading to update list never being cleared. Problem of what to do with these LSAs remains. (ospf_make_ls_upd) add comment about large LSA problem, indentation cleanup.
* 2004-07-14 Greg Troxel <gdt@poblano.ir.bbn.com>gdt2004-07-142-1/+6
| | | | | * Makefile.am (EXTRA_DIST): Add missing \, so tools stuff is really in distfile.
* 004-07-13 David Wiggins <dwiggins@bbn.comgdt2004-07-132-1/+5
| | | | | | | | * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'. This is arguably not a security problem, since strlcat is used to copy to the buffer -gdt.
* 2004-07-13 Greg Troxel <gdt@poblano.ir.bbn.com>gdt2004-07-132-1/+14
| | | | | | * sigevent.c: Don't block SIGTRAP and SIGKILL. Blocking SIGTRAP confuses gdb, at least on NetBSD 2.0_BETA, where the block succeeds.
* Creating irdp socket requires more privileges.hasso2004-07-132-0/+16
|
* 1) extract.pl is braindead, but I will not touch it willingly.hasso2004-07-122-9/+14
| | | | 2) Following common style is always better anyway.
* Merge svn revision 855 from Zebra repository.hasso2004-07-094-9/+82
|
* cvsignore *.libs in build dirspaul2004-07-097-0/+7
|
* 2004-07-09 Paul Jakma <paul@dishone.st>paul2004-07-094-21/+96
| | | | | | | | | | Merge of GNU Zebra cvs2svn changesets r799, r800 and r807. * bgp_dump.c: (bgp_dump_attr) cleanup. return status code. check attributes present before printing. * bgp_dump.c: update bgp_dump_attr prototype. * bgp_packet.c: (bgp_update_receive) init attrstr. check status of bgp_dump_attr. Log end-of-rib UPDATEs.
* 2004-07-09 Paul Jakma <paul@dishone.st>paul2004-07-094-2/+218
| | | | | * jhash.{c,h}: New files. Bob Jenkins' public domain hashing function, as implemented in linux kernel by David Miller.
* 2004-07-09 Paul Jakma <paul@dishone.st>paul2004-07-092-20/+113
| | | | | * Merge Kunihiro's 'show route-map' change and add compatibility aliases for route-map continue
* more cvsignorespaul2004-07-093-0/+3
|
* Update cvsignore's for *.lo and *.la - libtool filespaul2004-07-098-0/+16
|
* 2004-07-09 Juris Kalnins <juris@mt.lv>paul2004-07-092-1/+10
| | | | | * if.c: (if_cmp_func) fix for interface names where name is same, but one has no number, eg "devtyp" and "devtyp0".
* 2004-07-09 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-07-093-6/+19
| | | | | | | * bgp_packet.c: (bgp_collision_detect) Send NOTIFY on new socket if that is connection we're closing. (bgp_read) invalid marker check applies to KEEPALIVE too. * bgp_route.c: Ignore multicast NRLI, dont send NOTIFY.
* 2004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>gdt2004-07-012-0/+19
| | | | | * ripng_interface.c (ripng_multicast_join): Use privs to do join, to work around bug on gif(4) on NetBSD 1.6.2.
* add appearance of shlibsgdt2004-07-011-0/+3
|
* There is no need to introduce new file of course, document big changes inhasso2004-07-012-10/+14
| | | | NEWS file.
* Compile libospf shared as well.gdt2004-07-012-5/+8
|
* Add libtool support.libtool-aftergdt2004-06-3017-2670/+51
| | | | | | | | | | | | | | | | libzebra and libospfapiclient are now built shared, and linked shared with the daemons. This reduces the memory needed when running multiple daemons; each daemon is at least 150k smaller. Static libraries are still built, and libtool should use them on platforms which don't have shared libaries. As with autoconf, the user of a distribution does not need libtool; one just needs that to build from CVS. libospf.a is still a non-shared library, and still installed, not because that makese sense, but because I don't understand why it is the way it is now. Note that the tree was tagged 'libtool-before' just before this commit.
* Use EXTRA_DIST to distribute files, and don't list directories.libtool-beforegdt2004-06-304-13/+19
| | | | Remove disthook that removed the crud that was copied in due to this.
* Make vtysh work on NetBSD, and minor cleanups:gdt2004-06-305-6/+29
| | | | | | | | | | | | | | if --enable-vtysh, look for perl, and substitute into vtysh/extract.pl, rather than assuming perl is in /usr/bin Look for tputs in libtermcap and libcurses, in addition to previously-searched locations. Follow GNU readlines search order. Clean up --enable-vtysh definition in configure.ac. Add vtysh/vtysh_cmds.c to CLEANFILES. This is important if extract.pl fails, so that 'make clean && make' will regenerate vtysh_cmds.c rhather than using the old zero-length file.
* Use -rf with autom4te.cache.gdt2004-06-302-2/+6
|
* 2004-06-21 Paul Jakma <paul@dishone.st>paul2004-06-212-2/+7
| | | | | * ChangeLog: fix my last update config.h -> zebra.h ;) * zebra.h: Fix gcc check.
* Remove ifdef's HAVE_NSSA. NSSA support is stable enough.hasso2004-06-2020-250/+15
|
* Removing code which looked at current dir for config file before attemptinghasso2004-06-2010-105/+82
| | | | to read system one.
* Zebra daemon has access lists.hasso2004-06-202-2/+6
|
* We are going to change some stuff in incompatible way, so it's good idea tohasso2004-06-121-0/+10
| | | | document this stuff. Nobody reads loooong changelog ;).
* OK, here it is - irdp support. But don't expect me to fix any bugs in it.hasso2004-06-1211-76/+1609
|