]> git.proxmox.com Git - mirror_frr.git/log
mirror_frr.git
19 years agoIgnore *.sh.
hasso [Wed, 1 Sep 2004 19:35:12 +0000 (19:35 +0000)]
Ignore *.sh.

19 years ago2004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>
gdt [Tue, 31 Aug 2004 18:44:42 +0000 (18:44 +0000)]
2004-08-31  Greg Troxel  <gdt@poblano.ir.bbn.com>

        * Makefile.am (EXTRA_DIST): New - just has EXTRA_DIST.  (Using a
        directory in EXTRA_DIST in the parent was causing 'make dist' to fail.)

(Now m4/Makefile* is first-class and included from top level.)

19 years ago2004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>
gdt [Tue, 31 Aug 2004 18:16:36 +0000 (18:16 +0000)]
2004-08-31  Greg Troxel  <gdt@poblano.ir.bbn.com>

* Rename scripts to *.sh.in, and use autoconf-style substitution
  for prefix and localstatedir.

19 years agoAssorted changes from work at BBN. Most are minor, and several are in
gdt [Tue, 31 Aug 2004 17:28:41 +0000 (17:28 +0000)]
Assorted changes from work at BBN.  Most are minor, and several are in
support of more significant changes not in this commit.  The last item
in the ChangeLog below may be needed for p2mp to work correctly.

2004-08-31  David Wiggins  <dwiggins@bbn.com>

* hash.c (hash_iterate): Save next pointer before calling
procedure, so that iteration works even if the called procedure
deletes the hash backet.

* linklist.h (listtail): new macro, not yet used.

2004-08-31  David Wiggins  <dwiggins@bbn.com>

* ospf_spf.c (ospf_spf_calculate): Many more comments and debug
  print statements.  New function ospf_vertex_dump used in debugging.

2004-08-31  David Wiggins  <dwiggins@bbn.com>

* ospf_spf.h (struct vertex): Comments for flags and structure members.

2004-08-31  David Wiggins  <dwiggins@bbn.com>

* ospf_route.c: When finding an alternate route, log cost as well.

2004-08-31  David Wiggins  <dwiggins@bbn.com>

* ospf_interface.c (ospf_lookup_if_params): Initialize af in
struct prefix allocated on stack.

2004-08-31  David Wiggins  <dwiggins@bbn.com>

* ospf_packet.c (ospf_ls_ack_send_delayed): In p2mp mode, send
acks to AllSPFRouters, rather than All-DR.

19 years agoremove zebra/irdp.c because it is no longer in the source tree.
gdt [Tue, 31 Aug 2004 15:35:32 +0000 (15:35 +0000)]
remove zebra/irdp.c because it is no longer in the source tree.

19 years agoCommit my hack (yes, I still call it hack) - command line switch for zebra
hasso [Tue, 31 Aug 2004 13:41:49 +0000 (13:41 +0000)]
Commit my hack (yes, I still call it hack) - command line switch for zebra
daemon to change netlink receive buffer size.

19 years agoFix for Bugzilla #108.
hasso [Tue, 31 Aug 2004 13:37:42 +0000 (13:37 +0000)]
Fix for Bugzilla #108.

19 years agoPlease, tell me truth about what debugging status you are displaying.
hasso [Tue, 31 Aug 2004 12:04:33 +0000 (12:04 +0000)]
Please, tell me truth about what debugging status you are displaying.

19 years agoRemove dead file.
hasso [Tue, 31 Aug 2004 11:50:53 +0000 (11:50 +0000)]
Remove dead file.

19 years agocvsignore for pkgsrc
paul [Tue, 31 Aug 2004 11:17:39 +0000 (11:17 +0000)]
cvsignore for pkgsrc

19 years agoPort ospf6d to sigevent and rename signal handling functions in vtysh not to
hasso [Sat, 28 Aug 2004 17:04:33 +0000 (17:04 +0000)]
Port ospf6d to sigevent and rename signal handling functions in vtysh not to
conflict the ones in lib/sigevent.c. Fixes compiling with --disable-shared.

19 years agoAdd start/stop scripts for the rc.d framework used by
gdt [Fri, 27 Aug 2004 15:57:35 +0000 (15:57 +0000)]
Add start/stop scripts for the rc.d framework used by
pkgsrc (NetBSD and others).  Contributed by Miles Nordin.

19 years agoBrown paperbag, please. Don't segfault if VTYSH_PAGER isn't defined.
hasso [Fri, 27 Aug 2004 14:23:28 +0000 (14:23 +0000)]
Brown paperbag, please. Don't segfault if VTYSH_PAGER isn't defined.

19 years agoMake "terminal length <0-512>" command work in vtysh.
hasso [Fri, 27 Aug 2004 13:56:39 +0000 (13:56 +0000)]
Make "terminal length <0-512>" command work in vtysh.

19 years ago2004-08-27 David Wiggins <dwiggins@bbn.com>
gdt [Fri, 27 Aug 2004 12:03:42 +0000 (12:03 +0000)]
2004-08-27  David Wiggins  <dwiggins@bbn.com>

        * ospf_spf.c (ospf_nexthop_calculation): Initialize address family
          in on-stack struct prefix_ipv4.  Fixes point-to-multipoint SPF
          calculation.

19 years agoAdded NSSA related items.
hasso [Fri, 27 Aug 2004 06:39:05 +0000 (06:39 +0000)]
Added NSSA related items.

19 years agoMore vtysh fixes. Specifying configuration from command line works now.
hasso [Thu, 26 Aug 2004 22:21:31 +0000 (22:21 +0000)]
More vtysh fixes. Specifying configuration from command line works now.

19 years agoMerge changelog entry from zebra cvs for my vtysh fix.
hasso [Thu, 26 Aug 2004 18:56:19 +0000 (18:56 +0000)]
Merge changelog entry from zebra cvs for my vtysh fix.

19 years agoMerge svn revision 954 from Zebra cvs.
hasso [Thu, 26 Aug 2004 18:19:59 +0000 (18:19 +0000)]
Merge svn revision 954 from Zebra cvs.

19 years agoMake ospf6d configuration appear in vtysh as well. Report sent to Yasuhiro
hasso [Thu, 26 Aug 2004 18:10:36 +0000 (18:10 +0000)]
Make ospf6d configuration appear in vtysh as well. Report sent to Yasuhiro
Ohara.

19 years agoadd () on SOPT_SIZE_CMSG_PKTINFO_IPV4() use, to match def.
gdt [Thu, 26 Aug 2004 14:14:43 +0000 (14:14 +0000)]
add () on SOPT_SIZE_CMSG_PKTINFO_IPV4() use, to match def.
Thanks to Hasso for code review.

19 years ago2004-08-26 Miles Nordin <carton@Ivy.NET>
gdt [Thu, 26 Aug 2004 13:24:00 +0000 (13:24 +0000)]
2004-08-26  Miles Nordin  <carton@Ivy.NET>

* ipforward_sysctl.c (mib_ipv6): Use size_t for len, per
  sysctl(3), rather than int.  (Needed on NetBSD/alpha to display
  forwarding status correctly.)

19 years agofix typo in previous commit
gdt [Thu, 26 Aug 2004 13:19:40 +0000 (13:19 +0000)]
fix typo in previous commit

19 years ago2004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Thu, 26 Aug 2004 13:14:07 +0000 (13:14 +0000)]
2004-08-26  Greg Troxel  <gdt@fnord.ir.bbn.com>

* ospf_packet.c (ospf_recv_packet): adjust size declaration of
buffer used to get interface index so that it compiles on other
than Linux and includes the required alignment space.  Probably
this was only working on sparc/sparc64 because most of sockaddr_dl
was not being written.

19 years ago2004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Thu, 26 Aug 2004 13:12:41 +0000 (13:12 +0000)]
2004-08-26  Greg Troxel  <gdt@fnord.ir.bbn.com>

* sockopt.h: Define method-independent macro for callers of
get_ifindex to use for cmsg length.

19 years agoVtysh cleanup part 2. No any functional changes yet except VTYSH_INTERFACE.
hasso [Thu, 26 Aug 2004 13:08:30 +0000 (13:08 +0000)]
Vtysh cleanup part 2. No any functional changes yet except VTYSH_INTERFACE.

19 years agoIt hurts my eye every time configure finishes job :).
hasso [Thu, 26 Aug 2004 12:21:28 +0000 (12:21 +0000)]
It hurts my eye every time configure finishes job :).

19 years agoOne warning less while building vtysh_cmd.c. This seems to be dead file.
hasso [Thu, 26 Aug 2004 11:22:19 +0000 (11:22 +0000)]
One warning less while building vtysh_cmd.c. This seems to be dead file.
Maybe remove it at all?

19 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Wed, 25 Aug 2004 13:47:16 +0000 (13:47 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>

        * zebra.h: add MAX and MIN defines (eg for ospf6d)

19 years agoCleaning up whitespace mess mostly caused by my patches. Bigger
hasso [Wed, 25 Aug 2004 12:22:00 +0000 (12:22 +0000)]
Cleaning up whitespace mess mostly caused by my patches. Bigger
reorganization of this spagetti will follow soon.

19 years agoSVN revisions 935-940 merge from Zebra CVS.
hasso [Wed, 25 Aug 2004 09:10:37 +0000 (09:10 +0000)]
SVN revisions 935-940 merge from Zebra CVS.

19 years ago2004-08-23 Paul Jakma <paul@dishone.st>
paul [Mon, 23 Aug 2004 18:58:32 +0000 (18:58 +0000)]
2004-08-23 Paul Jakma <paul@dishone.st>

        * zebra/zserv.c: (zebra_init) remove implicit ip forward enabling
        * NEWS: warn about forwarding change

19 years agoIgnore documentation build files (indexes, etc..)
paul [Mon, 23 Aug 2004 18:03:28 +0000 (18:03 +0000)]
Ignore documentation build files (indexes, etc..)

19 years agoMerge svn revisions 924 and 925 from Zebra CVS. Also remove useless
hasso [Thu, 19 Aug 2004 06:56:53 +0000 (06:56 +0000)]
Merge svn revisions 924 and 925 from Zebra CVS. Also remove useless
ospf6_lsdb prototype declaration from ospf6_lsa.h. Report sent to Yasuhiro
Ohara as well.

19 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Aug 2004 04:45:33 +0000 (04:45 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>

        * irdp_main.c: update to match sockopt renames.
        * irdp_packet.c: include sockopt.h and update to match sockopt
  renames.

19 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Aug 2004 04:43:43 +0000 (04:43 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>

        * ospf_packet.c: update to match sockopt renames.

19 years agocommit ChangeLog too...
paul [Thu, 19 Aug 2004 04:42:03 +0000 (04:42 +0000)]
commit ChangeLog too...

19 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Aug 2004 04:41:21 +0000 (04:41 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>

        * 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

19 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Aug 2004 04:34:29 +0000 (04:34 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>

* *.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.

19 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Aug 2004 04:13:29 +0000 (04:13 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>
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.

19 years ago2004-08-19 Paul Jakma <paul@dishone.st>
paul [Thu, 19 Aug 2004 04:03:08 +0000 (04:03 +0000)]
2004-08-19 Paul Jakma <paul@dishone.st>

        * 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

19 years agoquagga.logrotate: remove generic weekly and nocompress options
paul [Thu, 19 Aug 2004 03:36:13 +0000 (03:36 +0000)]
quagga.logrotate: remove generic weekly and nocompress options
quagga.spec.in: build snmp support, update prequisites ucd-snmp to net-snmp

19 years ago2004-08-18 Paul Jakma <paul@dishone.st>
paul [Wed, 18 Aug 2004 21:52:58 +0000 (21:52 +0000)]
2004-08-18 Paul Jakma <paul@dishone.st>

        * 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.

19 years ago2004-08-17 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Tue, 17 Aug 2004 12:27:32 +0000 (12:27 +0000)]
2004-08-17  Greg Troxel  <gdt@fnord.ir.bbn.com>

        * update-autotools: print tools versions to aid people in sending
        bug reports.

19 years agoSVN revisions 916-920 from Zebra. ABR support is almost done.
hasso [Sun, 15 Aug 2004 05:52:07 +0000 (05:52 +0000)]
SVN revisions 916-920 from Zebra. ABR support is almost done.

19 years agoInclude padding in control message length.
gdt [Wed, 11 Aug 2004 19:20:01 +0000 (19:20 +0000)]
Include padding in control message length.
Inspired by netbsd:src/usr.sbin/rtadvd/rtadvd.c (from KAME).

19 years ago2004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Wed, 11 Aug 2004 18:06:38 +0000 (18:06 +0000)]
2004-08-11  Greg Troxel  <gdt@fnord.ir.bbn.com>

* 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.

19 years agoAdd extra padding in cmsgdata buffer; there wasn't enough on
gdt [Wed, 11 Aug 2004 15:58:00 +0000 (15:58 +0000)]
Add extra padding in cmsgdata buffer; there wasn't enough on
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.

19 years agoI am bored. But I hate questions why there are man pages from version 0.88.
hasso [Tue, 10 Aug 2004 12:00:34 +0000 (12:00 +0000)]
I am bored. But I hate questions why there are man pages from version 0.88.
Vtysh man page looks already how it should look IMHO, the rest need more
work.

19 years agoRemove pointless privilege lower call. Thanks to Cougar for noticing.
hasso [Fri, 6 Aug 2004 08:41:56 +0000 (08:41 +0000)]
Remove pointless privilege lower call. Thanks to Cougar for noticing.

19 years ago2004-08-04 Paul Jakma <paul@dishone.st>
paul [Thu, 5 Aug 2004 09:10:31 +0000 (09:10 +0000)]
2004-08-04 Paul Jakma <paul@dishone.st>

        * 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.

19 years agoSVN revision 907 from Zebra cvs repository.
hasso [Wed, 4 Aug 2004 20:02:13 +0000 (20:02 +0000)]
SVN revision 907 from Zebra cvs repository.

19 years agooops, forgot to update changelog.
paul [Sat, 31 Jul 2004 15:16:47 +0000 (15:16 +0000)]
oops, forgot to update changelog.

19 years ago2004-07-31 Christian Hammers <ch@lathspell.de>
paul [Sat, 31 Jul 2004 15:15:39 +0000 (15:15 +0000)]
2004-07-31 Christian Hammers <ch@lathspell.de>

* snmp.texi: updated (rewritten almost)

19 years agoenable irdp
paul [Wed, 28 Jul 2004 14:11:55 +0000 (14:11 +0000)]
enable irdp

19 years ago2004-07-27 Paul Jakma <paul@dishone.st>
paul [Tue, 27 Jul 2004 17:40:44 +0000 (17:40 +0000)]
2004-07-27 Paul Jakma <paul@dishone.st>

        * 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.

19 years agoPaul Jakma: forgot an obvious TODO
paul [Tue, 27 Jul 2004 16:57:53 +0000 (16:57 +0000)]
Paul Jakma: forgot an obvious TODO

19 years agoPaul Jakma: update TODO.. there's plenty.
paul [Tue, 27 Jul 2004 16:57:09 +0000 (16:57 +0000)]
Paul Jakma: update TODO.. there's plenty.

19 years ago2004-07-27 Paul Jakma <paul@dishone.st>
paul [Tue, 27 Jul 2004 15:53:34 +0000 (15:53 +0000)]
2004-07-27 Paul Jakma <paul@dishone.st>

* Makefile.am: tests/ must be in dist or building from dist breaks

19 years ago2004-07-27 Paul Jakma <paul@dishone.st>
paul [Tue, 27 Jul 2004 11:19:11 +0000 (11:19 +0000)]
2004-07-27 Paul Jakma <paul@dishone.st>

        * 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.

19 years ago2004-07-26 Paul Jakma <paul@dishone.st>
paul [Mon, 26 Jul 2004 19:27:51 +0000 (19:27 +0000)]
2004-07-26 Paul Jakma <paul@dishone.st>

* configure.ac: reenable tests/Makefile
* tests/Makefile.am: automake file for tests dir
* tests/.cvsignore: update

19 years agoUse ifp->mtu6 in ospf6d and ripngd.
hasso [Fri, 23 Jul 2004 21:34:27 +0000 (21:34 +0000)]
Use ifp->mtu6 in ospf6d and ripngd.

19 years agoadd .libs
gdt [Fri, 23 Jul 2004 16:24:38 +0000 (16:24 +0000)]
add .libs

19 years ago(somewhat unrelated cleanups, but all are very minor)
gdt [Fri, 23 Jul 2004 16:23:56 +0000 (16:23 +0000)]
(somewhat unrelated cleanups, but all are very minor)

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

19 years ago2004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com>
gdt [Fri, 23 Jul 2004 16:14:32 +0000 (16:14 +0000)]
2004-07-23  Greg Troxel  <gdt@poblano.ir.bbn.com>

* 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.

19 years ago2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
paul [Fri, 23 Jul 2004 15:26:14 +0000 (15:26 +0000)]
2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>

        * 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

19 years ago2004-07-23 Paul Jakma <paul@dishone.st>
paul [Fri, 23 Jul 2004 15:25:01 +0000 (15:25 +0000)]
2004-07-23 Paul Jakma <paul@dishone.st>

        * irdp_main.c: use setsockopt_pktinfo_ipv4
        * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and
          getsockopt_pktinfo_ifindex()

19 years agoUpdate cvsignore, add .libs
paul [Fri, 23 Jul 2004 15:18:41 +0000 (15:18 +0000)]
Update cvsignore, add .libs

19 years ago2004-07-23 Paul Jakma <paul@dishone.st>
paul [Fri, 23 Jul 2004 15:17:45 +0000 (15:17 +0000)]
2004-07-23 Paul Jakma <paul@dishone.st>

        * ospf6_main.c: Delete LOG_PERROR, not portable.
        * ospf6_network.c: (ospf6_set_pktinfo) use setsockopt_ipv6_pktinfo

19 years ago2004-07-23 Paul Jakma <paul@dishone.st>
paul [Fri, 23 Jul 2004 15:13:48 +0000 (15:13 +0000)]
2004-07-23 Paul Jakma <paul@dishone.st>

        * ospf_network.c: Replace PKTINFO/RECVIF with call to
          setsockopt_pktinfo
        * ospf_packet.c: Use getsockopt_pktinfo_ifindex and
          SOPT_SIZE_CMSG_PKTINFO_IPV4.

19 years ago2004-07-23 Paul Jakma <paul@dishone.st>
paul [Fri, 23 Jul 2004 15:11:07 +0000 (15:11 +0000)]
2004-07-23 Paul Jakma <paul@dishone.st>

        * 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

19 years ago2004-07-14 Paul Jakma <paul@dishone.st>
paul [Thu, 22 Jul 2004 19:14:27 +0000 (19:14 +0000)]
2004-07-14 Paul Jakma <paul@dishone.st>

        * 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.

19 years ago2004-07-22 Paul Jakma <paul@dishone.st>
paul [Thu, 22 Jul 2004 18:16:59 +0000 (18:16 +0000)]
2004-07-22 Paul Jakma <paul@dishone.st>

        * configure.ac: modify default CFLAGS to be compiler agnostic
          build Makefile for tests/ subdir.

19 years ago2004-07-20 Paul Jakma <paul@dishone.st>
paul [Tue, 20 Jul 2004 11:19:47 +0000 (11:19 +0000)]
2004-07-20 Paul Jakma <paul@dishone.st>

* redhat/quagga.spec.in: update for shared lib install, *.la
  should be in -devel

19 years ago2004-07-17 Paul Jakma <paul@dishone.st>
paul [Sat, 17 Jul 2004 11:51:29 +0000 (11:51 +0000)]
2004-07-17 Paul Jakma <paul@dishone.st>

* if.c: (if_cmp_func) Add comment suggested by Greg Troxel.

19 years ago2004-07-14 Paul Jakma <paul@dishone.st>
paul [Wed, 14 Jul 2004 20:50:36 +0000 (20:50 +0000)]
2004-07-14 Paul Jakma <paul@dishone.st>

        * 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.

19 years ago2004-07-14 Greg Troxel <gdt@poblano.ir.bbn.com>
gdt [Wed, 14 Jul 2004 13:55:28 +0000 (13:55 +0000)]
2004-07-14  Greg Troxel  <gdt@poblano.ir.bbn.com>

        * Makefile.am (EXTRA_DIST): Add missing \, so tools stuff is
        really in distfile.

19 years ago004-07-13 David Wiggins <dwiggins@bbn.com
gdt [Tue, 13 Jul 2004 16:45:54 +0000 (16:45 +0000)]
004-07-13  David Wiggins <dwiggins@bbn.com

* 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.

19 years ago2004-07-13 Greg Troxel <gdt@poblano.ir.bbn.com>
gdt [Tue, 13 Jul 2004 13:47:25 +0000 (13:47 +0000)]
2004-07-13  Greg Troxel  <gdt@poblano.ir.bbn.com>

* sigevent.c: Don't block SIGTRAP and SIGKILL.  Blocking SIGTRAP
confuses gdb, at least on NetBSD 2.0_BETA, where the block
succeeds.

19 years agoCreating irdp socket requires more privileges.
hasso [Tue, 13 Jul 2004 03:06:51 +0000 (03:06 +0000)]
Creating irdp socket requires more privileges.

19 years ago1) extract.pl is braindead, but I will not touch it willingly.
hasso [Mon, 12 Jul 2004 16:32:56 +0000 (16:32 +0000)]
1) extract.pl is braindead, but I will not touch it willingly.
2) Following common style is always better anyway.

19 years agoMerge svn revision 855 from Zebra repository.
hasso [Fri, 9 Jul 2004 18:33:43 +0000 (18:33 +0000)]
Merge svn revision 855 from Zebra repository.

19 years agocvsignore *.libs in build dirs
paul [Fri, 9 Jul 2004 17:52:39 +0000 (17:52 +0000)]
cvsignore *.libs in build dirs

19 years ago2004-07-09 Paul Jakma <paul@dishone.st>
paul [Fri, 9 Jul 2004 17:48:53 +0000 (17:48 +0000)]
2004-07-09 Paul Jakma <paul@dishone.st>

        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.

19 years ago2004-07-09 Paul Jakma <paul@dishone.st>
paul [Fri, 9 Jul 2004 14:05:47 +0000 (14:05 +0000)]
2004-07-09 Paul Jakma <paul@dishone.st>

        * jhash.{c,h}: New files. Bob Jenkins' public domain hashing
          function, as implemented in linux kernel by David Miller.

19 years ago2004-07-09 Paul Jakma <paul@dishone.st>
paul [Fri, 9 Jul 2004 14:00:01 +0000 (14:00 +0000)]
2004-07-09 Paul Jakma <paul@dishone.st>

        * Merge Kunihiro's 'show route-map' change and add
          compatibility aliases for route-map continue

19 years agomore cvsignores
paul [Fri, 9 Jul 2004 12:43:09 +0000 (12:43 +0000)]
more cvsignores

19 years agoUpdate cvsignore's for *.lo and *.la - libtool files
paul [Fri, 9 Jul 2004 12:38:23 +0000 (12:38 +0000)]
Update cvsignore's for *.lo and *.la - libtool files

19 years ago2004-07-09 Juris Kalnins <juris@mt.lv>
paul [Fri, 9 Jul 2004 12:24:42 +0000 (12:24 +0000)]
2004-07-09 Juris Kalnins <juris@mt.lv>

        * if.c: (if_cmp_func) fix for interface names where name is same,
          but one has no number, eg "devtyp" and "devtyp0".

19 years ago2004-07-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
paul [Fri, 9 Jul 2004 12:11:31 +0000 (12:11 +0000)]
2004-07-09 Sowmini Varadhan <sowmini.varadhan@sun.com>

        * 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.

19 years ago2004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Thu, 1 Jul 2004 19:26:33 +0000 (19:26 +0000)]
2004-07-01  Greg Troxel  <gdt@fnord.ir.bbn.com>

        * ripng_interface.c (ripng_multicast_join): Use privs to do join,
        to work around bug on gif(4) on NetBSD 1.6.2.

19 years agoadd appearance of shlibs
gdt [Thu, 1 Jul 2004 18:49:23 +0000 (18:49 +0000)]
add appearance of shlibs

19 years agoThere is no need to introduce new file of course, document big changes in
hasso [Thu, 1 Jul 2004 18:40:18 +0000 (18:40 +0000)]
There is no need to introduce new file of course, document big changes in
NEWS file.

19 years agoCompile libospf shared as well.
gdt [Thu, 1 Jul 2004 12:35:36 +0000 (12:35 +0000)]
Compile libospf shared as well.

19 years agoAdd libtool support.
gdt [Wed, 30 Jun 2004 17:36:11 +0000 (17:36 +0000)]
Add libtool support.

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.

19 years agoUse EXTRA_DIST to distribute files, and don't list directories.
gdt [Wed, 30 Jun 2004 17:25:15 +0000 (17:25 +0000)]
Use EXTRA_DIST to distribute files, and don't list directories.
Remove disthook that removed the crud that was copied in due to this.

19 years agoMake vtysh work on NetBSD, and minor cleanups:
gdt [Wed, 30 Jun 2004 14:25:12 +0000 (14:25 +0000)]
Make vtysh work on NetBSD, and minor cleanups:

  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.

19 years agoUse -rf with autom4te.cache.
gdt [Wed, 30 Jun 2004 13:24:42 +0000 (13:24 +0000)]
Use -rf with autom4te.cache.

19 years ago2004-06-21 Paul Jakma <paul@dishone.st>
paul [Mon, 21 Jun 2004 10:35:59 +0000 (10:35 +0000)]
2004-06-21 Paul Jakma <paul@dishone.st>

        * ChangeLog: fix my last update config.h -> zebra.h ;)
        * zebra.h: Fix gcc check.

19 years agoRemove ifdef's HAVE_NSSA. NSSA support is stable enough.
hasso [Sun, 20 Jun 2004 21:00:27 +0000 (21:00 +0000)]
Remove ifdef's HAVE_NSSA. NSSA support is stable enough.