summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2004-08-19 Paul Jakma <paul@dishone.st>paul2004-08-192-1/+5
| | | | * ospf_packet.c: update to match sockopt renames.
* commit ChangeLog too...paul2004-08-191-0/+7
|
* 2004-08-19 Paul Jakma <paul@dishone.st>paul2004-08-193-3/+9
| | | | | | | * Makefile.am: add m4 directory to EXTRA_DIST, and define ACLOCAL_AMFLAGS to have aclocal pull in m4/ * configure.ac: AM_PROG_LIBTOOL should be AC_PROG_LIBTOOL * update-autotools: print a warning that this script is deprecated
* 2004-08-19 Paul Jakma <paul@dishone.st>paul2004-08-198-0/+6896
| | | | | | | * *.m4: import of libtool CVS m4 autoconf files. These only configure libtool support for languages where configure has already called AC_PROG_<lang>, less fragile. * README.txt: doc file for contents of this directory.
* 2004-08-19 Paul Jakma <paul@dishone.st>paul2004-08-193-32/+89
| | | | | | | | | | | | | | | | | | | | | | | | 2004-08-19 Paul Jakma <paul@dishone.st> * sockopt.c: include sockopt.h rename some of the _pktinfo_ functions to _ifindex, where that is their purpose. (getsockopt_ipv6_pktinfo_ifindex) renamed to getsockopt_ipv6_ifindex. (setsockopt_ipv4_pktinfo) renamed to setsockopt_ipv4_ifindex (setsockopt_pktinfo) update with previous and add comment re AF_INET portability. (setsockopt_ifindex) generic ifindex function ala setsockopt_pktinfo. (getsockopt_ipv4_pktinfo_ifindex) renamed to getsockopt_ipv4_ifindex. (getsockopt_ipv4_ifindex) rejiggling to reduce repeated ifdef/elses. pktinfo case forgot to set ifindex. (getsockopt_pktinfo_ifindex) renamed to getsockopt_ifindex. update some calls to renamed functions. * sockopt.h: Update renamed exported functions Rename the CMSG_SIZE macros to IFINDEX. Guard IPv4 PKTINFO in a conditional define.
* 2004-08-19 Paul Jakma <paul@dishone.st>paul2004-08-194-7/+17
| | | | | | | | | * rip_interface.c: (rip_interface_multicast_set) get rid of extraneous if_pointopoint arg. ifp is accessible via connected. pass connected->ifp->ifindex to setsockopt_multicast_ipv4. * ripd.c: (rip_send_packet) update call to rip_interface_multicast_set * ripd.h: update rip_interface_multicast_set prototype
* quagga.logrotate: remove generic weekly and nocompress optionspaul2004-08-192-15/+3
| | | | quagga.spec.in: build snmp support, update prequisites ucd-snmp to net-snmp
* 2004-08-18 Paul Jakma <paul@dishone.st>paul2004-08-182-1/+14
| | | | | | | * vty.c: (vty_serv_un) set unix vty socket to nonblocking to prevent inadvertent blocking of daemons by use of vtysh. TODO: disentangle manual paging from the buffer_write path so that unix vty can use this path too and be reliable.
* 2004-08-17 Greg Troxel <gdt@fnord.ir.bbn.com>gdt2004-08-172-0/+13
| | | | | * update-autotools: print tools versions to aid people in sending bug reports.
* SVN revisions 916-920 from Zebra. ABR support is almost done.hasso2004-08-1526-1207/+1721
|
* Include padding in control message length.gdt2004-08-111-1/+1
| | | | Inspired by netbsd:src/usr.sbin/rtadvd/rtadvd.c (from KAME).
* 2004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>gdt2004-08-112-20/+27
| | | | | | | * rtadv.c (rtadv_send_packet): Allocate space for control messages more carefully; it was wrong on NetBSD/sparc where CMSG alignment is to 8 bytes instead of 4, and overwriting the address. Use the provided macros for determining lengths.
* Add extra padding in cmsgdata buffer; there wasn't enough ongdt2004-08-111-1/+18
| | | | | | | | NetBSD/sparc, resulting in overwriting the address. Add code to check if overwriting is happening, at least for now. Set msg_flags to MSG_DONTROUTE; they had been stack garbage.
* I am bored. But I hate questions why there are man pages from version 0.88.hasso2004-08-109-655/+416
| | | | | Vtysh man page looks already how it should look IMHO, the rest need more work.
* Remove pointless privilege lower call. Thanks to Cougar for noticing.hasso2004-08-061-5/+3
|
* 2004-08-04 Paul Jakma <paul@dishone.st>paul2004-08-052-19/+48
| | | | | | | | | * ospf_spf.c: (ospf_spf_consider_nexthop) Add comment about issue. Compare only against list head - all nexthops must be same cost anyway, fixes a reference-listnode-after-delete bug noted by Kir Kostuchenko. (ospf_nexthop_calculation) Use ospf_spf_consider_nexthop for all candidates attached to root.
* SVN revision 907 from Zebra cvs repository.hasso2004-08-0424-823/+1972
|
* oops, forgot to update changelog.paul2004-07-311-0/+4
|
* 2004-07-31 Christian Hammers <ch@lathspell.de>paul2004-07-311-39/+90
| | | | * snmp.texi: updated (rewritten almost)
* 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.