]> git.puffer.fish Git - mirror/frr.git/log
mirror/frr.git
20 years ago2005-01-25 Paul Jakma <paul@dishone.st>
paul [Tue, 25 Jan 2005 01:19:28 +0000 (01:19 +0000)]
2005-01-25 Paul Jakma <paul@dishone.st>

* ospf6_asbr.c: Add "hsls" to the zroute_name const char array.

20 years ago2005-01-24 Paul Jakma <paul@dishone.st>
paul [Mon, 24 Jan 2005 10:24:31 +0000 (10:24 +0000)]
2005-01-24 Paul Jakma <paul@dishone.st>

* configure.ac: Bump version to 0.99.0
* doc/quagga.info: Version bump (autogenerated)

20 years ago * bgp_route.c: Fix showstopper bug. New route must be selected also
hasso [Mon, 24 Jan 2005 09:29:42 +0000 (09:29 +0000)]
* bgp_route.c: Fix showstopper bug. New route must be selected also
  if old one is flaged as BGP_INFO_ATTR_CHANGED.

20 years ago2005-01-24 Martin Pot <mpot at martybugs.net>
paul [Mon, 24 Jan 2005 09:05:27 +0000 (09:05 +0000)]
2005-01-24 Martin Pot <mpot at martybugs.net>

* zebra/rt_netlink.c: ignore wireless newlink netlink messages.

20 years ago * lib/command.[ch]: Make node_parent() function nonstatic. vtyh.c will
hasso [Sun, 23 Jan 2005 21:42:25 +0000 (21:42 +0000)]
    * lib/command.[ch]: Make node_parent() function nonstatic. vtyh.c will
          use it as well.
        * vtysh/vtysh.c: Implement walkup in node tree for vtysh as it already
          works in vty.

20 years ago * vtysh.conf.sample: Fix typo "integrated-vtysh-conf" ->
hasso [Sun, 23 Jan 2005 19:24:46 +0000 (19:24 +0000)]
* vtysh.conf.sample: Fix typo "integrated-vtysh-conf" ->
  "integrated-vtysh-config".

20 years ago2005-01-18 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Tue, 18 Jan 2005 22:18:59 +0000 (22:18 +0000)]
2005-01-18 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* log.h: Test for SA_SIGINFO to see whether zlog_signal takes final
  two args (siginfo and program_counter).
* log.c: (hex_append) Include this function only if SA_SIGINFO or
  HAVE_GLIBC_BACKTRACE is defined.
  (zlog_signal) Final two args (siginfo and program_counter) now
  depend on whether SA_SIGINFO is defined on this platform.
* sigevent.c: (program_counter) Do not include this function if
  SA_SIGINFO is not defined on this platform.
  (exit_handler,core_handler) Test for SA_SIGINFO to decide whether
  2nd & 3rd arguments are present and to decide how to invoke
  zlog_signal.
  (trap_default_signals) Test for SA_SIGINFO and invoke sigaction
  appropriately.

20 years ago * *.c: Changed many functions to static. Some commented out
hasso [Tue, 18 Jan 2005 13:53:33 +0000 (13:53 +0000)]
* *.c: Changed many functions to static. Some commented out
  functions and some tiny related fixes. No functional changes.

20 years ago * interface.c: Better statistics output in "show interface" command in
hasso [Tue, 18 Jan 2005 13:44:35 +0000 (13:44 +0000)]
* interface.c: Better statistics output in "show interface" command in
  case of /proc being used. I don't have others to test with at the
  moment.

20 years ago2005-01-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Mon, 17 Jan 2005 15:22:28 +0000 (15:22 +0000)]
2005-01-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* log.h: Change prototype for zlog_backtrace_sigsafe to take additional
  program_counter argument.
* log.c: (zlog_backtrace_sigsafe) Add additional program_counter
  argument.  If it is non-NULL, use backtrace_symbols_fd to resolve
  the address.
  (zlog_signal) Call zlog_backtrace_sigsafe with additional
  program_counter argument.

[pullup candidate]

20 years ago * bgp_route.c: Clear peer's routing table regardless whether it's
hasso [Mon, 17 Jan 2005 11:04:32 +0000 (11:04 +0000)]
* bgp_route.c: Clear peer's routing table regardless whether it's
  configured or not. Being not configured is even better reason to
  do it.

20 years ago * main.c: With --nl-bufsize argument is required.
hasso [Sun, 16 Jan 2005 23:34:02 +0000 (23:34 +0000)]
* main.c: With --nl-bufsize argument is required.

[pullup candidate]

20 years ago * command.[ch], vty.c: cmd_execute_command() function must not attempt
hasso [Sun, 16 Jan 2005 23:31:54 +0000 (23:31 +0000)]
* command.[ch], vty.c: cmd_execute_command() function must not attempt
  to walk up in the node tree if called from vtysh. Different daemons
  might have commands with same syntax in different nodes (for example
  "router-id x.x.x.x" commands in zebra/ospfd/ospf6d daemons).

* vtysh.c: Reflect changes in lib. cmd_execute_command() should know
  now that it's called from vtysh and must not attempt to walk up in
  the node tree.

[pullup candidate]

20 years ago2005-01-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Sat, 15 Jan 2005 17:26:48 +0000 (17:26 +0000)]
2005-01-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* redhat/quagga.spec.in: Fix postun script to avoid misleading error
  message saying the postun scriptlet failed when watchquagga
  is not running.

          (pullup candidate)

20 years ago2005-01-14 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Fri, 14 Jan 2005 17:09:38 +0000 (17:09 +0000)]
2005-01-14 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* command.c (print_version): Do not bother even to examine host.name,
  since it is always NULL when this function is called from main.

20 years ago2005-01-14 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Fri, 14 Jan 2005 15:47:33 +0000 (15:47 +0000)]
2005-01-14  Greg Troxel  <gdt@fnord.ir.bbn.com>

        * command.c (print_version): Don't print host.name if it is NULL.
        Fixes segfault on Solaris reported by Goetz von Escher <goetz@open.ch>

(pullup candidate)

20 years agoIgnore <dist tarball>.asc - i always seem to have one hanging around from
paul [Wed, 12 Jan 2005 23:49:05 +0000 (23:49 +0000)]
Ignore <dist tarball>.asc - i always seem to have one hanging around from
last release..

20 years ago2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 12 Jan 2005 17:27:27 +0000 (17:27 +0000)]
2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* configure.ac: Test for header file <ucontext.h> (for use in
  signal processing).
* sigevent.c: (trap_default_signals) Use the SA_SIGINFO flag to
  pass additional siginfo_t and ucontext_t arguments to core_handler
  and exit_handler.
  (core_handler,exit_handler) Now invoked with 3 arguments (using
  SA_SIGINFO).  Pass additional info to zlog_signal.
  (program_counter) New function to find program counter in ucontext_t,
  needs to be enhanced to support more platforms (currently works only
  on Linux/x86).
* log.h: Change the zlog_signal prototype to add new arguments
  siginfo_t * and program_counter.
* log.c: (zlog_signal) Add new arguments siginfo and program_counter.
  Include si_addr and program counter (if non-NULL) in message.
  And remove #ifdef HAVE_GLIBC_BACKTRACE around hex_append, since
  that is now used to render the si_addr and PC pointers.

20 years ago2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 12 Jan 2005 16:52:55 +0000 (16:52 +0000)]
2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* configure.ac: If configure is invoked with --enable-snmp, but
  the configure script is unable to find SNMP support on the platform,
  then configure should give an error message and exit.

20 years ago2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 12 Jan 2005 16:41:33 +0000 (16:41 +0000)]
2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* redhat/quagga.spec.in: Pass --enable-gcc-rdynamic to configure
  to get gcc to link with -rdynamic for better backtraces.
  When the rpm is upgraded, the restart logic now works as follows:
  1. stop watchquagga; 2. stop all routing daemons; 3. restart zebra
  if it was running; 4. start all routing daemons that were running;
  and 5. start watchquagga if it was running.

20 years ago2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 12 Jan 2005 16:24:51 +0000 (16:24 +0000)]
2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* watchquagga.c: (run_job) Fix bug: delay.tv_sec was being used
  without having been initialized when the "force" argument was true.
  (try_restart) When phased restart is stopping the routing daemons,
  it should tell run_job to update the restart interval.
  (phase_check) In final step of phased restart when the routing
  daemons are being started again, tell run_job not to update
  the restart interval (this is now done when the daemons are
  stopped).

20 years ago2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 12 Jan 2005 16:18:17 +0000 (16:18 +0000)]
2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* zebra.h: If not C99 and no va_copy macro available, fall back to
  memcpy (solves a build problem on FreeBSD 4.x).

20 years ago2005-01-10 Paul Jakma <paul@dishone.st>
paul [Mon, 10 Jan 2005 22:31:16 +0000 (22:31 +0000)]
2005-01-10 Paul Jakma <paul@dishone.st>

* texinfo.tex: Updated to a version which understands @{ and @}
* vtysh.texi: Add node name for @section
* quagga.info: updated build of autogenerated file

20 years ago2005-01-10 Greg Troxel <gdt@fnord.ir.bbn.com>
gdt [Mon, 10 Jan 2005 14:20:43 +0000 (14:20 +0000)]
2005-01-10  Greg Troxel  <gdt@fnord.ir.bbn.com>

        * ospf_packet.h: Remove commented out definition of
        OSPF_MAX_PACKET; neither it or the uncommented one are used any more.

        * ospf_packet.c (ospf_make_ls_upd): Leave room for authentication
        when deciding if an update will fit.
        (ospf_packet_authspace): Factor out calculation of size required
        for authentication.
        (ospf_make_db_desc): Use ospf_max_packet, not OSPF_MAX_PACKET.
        Don't confuse readers that there is a macro.

20 years ago2005-01-07 Paul Jakma <paul@dishone.st>
paul [Fri, 7 Jan 2005 14:17:39 +0000 (14:17 +0000)]
2005-01-07 Paul Jakma <paul@dishone.st>

* configure.ac: Bump version to 0.98.0
* doc/quagga.info: Version bump (autogenerated)

20 years ago2005-01-05 Paul Jakma <paul@dishone.st>
paul [Wed, 5 Jan 2005 11:58:31 +0000 (11:58 +0000)]
2005-01-05 Paul Jakma <paul@dishone.st>

* configure.ac: Bump version to 0.97.5
* doc/quagga.info: autogenerated, version bump.

20 years ago2005-01-05 Paul Jakma <paul@dishone.st>
paul [Wed, 5 Jan 2005 08:30:35 +0000 (08:30 +0000)]
2005-01-05 Paul Jakma <paul@dishone.st>

* zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
          for now, as we dont actually deal with with resending.... See
          bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
* kernel_socket.c: (routing_socket) ditto.

20 years ago2005-01-05 Paul Jakma <paul@dishone.st>
paul [Wed, 5 Jan 2005 08:14:13 +0000 (08:14 +0000)]
2005-01-05 Paul Jakma <paul@dishone.st>

* bgp_packet.c: (bgp_write) set socket to nonblock while writing
          this should be generalised. See bugzilla #102. Fix supplied by
  wawa@yandex-team.ru (Vladimir Ivanov).

20 years agominor fix to HAVE_BROKEN_CMSG_FIRSTHDR support: use AC_MSG_CHECKING
gdt [Tue, 4 Jan 2005 17:02:48 +0000 (17:02 +0000)]
minor fix to HAVE_BROKEN_CMSG_FIRSTHDR support: use AC_MSG_CHECKING
etc. so configure output shows the choice we made.

(Andrew: please recheck on a buggy system; it configures/compiles fine
on NetBSD.)

20 years ago2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Tue, 4 Jan 2005 16:24:43 +0000 (16:24 +0000)]
2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* configure.ac: Added test for broken CMSG_FIRSTHDR macro
  (relevant for Solaris 8 and unpatched Solaris 9, don't know
  whether other platforms are affected).
* zebra.h: Define ZCMSG_FIRSTHDR appropriately based on whether
  config.h indicates HAVE_BROKEN_CMSG_FIRSTHDR (as determined
  by the configure test program).
* sockopt.c: (getsockopt_cmsg_data) Use ZCMSG_FIRSTHDR instead
  of CMSG_FIRSTHDR.
* rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR
  instead of CMSG_FIRSTHDR.
* ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
* ripngd.c: (ripng_recv_packet) Use ZCMSG_FIRSTHDR instead of
  CMSG_FIRSTHDR.

20 years ago2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Tue, 4 Jan 2005 13:20:47 +0000 (13:20 +0000)]
2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* NEWS: Note improved logging facilities.

20 years agoReverting some int -> unsigned int fixes in command.c for now. Fixes crash
hasso [Sun, 2 Jan 2005 18:51:01 +0000 (18:51 +0000)]
Reverting some int -> unsigned int fixes in command.c for now. Fixes crash
described in [quagga-dev 2292].

20 years agoMore cleanup in isisd.
hasso [Sat, 1 Jan 2005 21:12:56 +0000 (21:12 +0000)]
More cleanup in isisd.

20 years agoMove TODO items from isid to the common TODO.
hasso [Sat, 1 Jan 2005 21:02:13 +0000 (21:02 +0000)]
Move TODO items from isid to the common TODO.

20 years agoThere is no need to keep this directory.
hasso [Sat, 1 Jan 2005 20:49:21 +0000 (20:49 +0000)]
There is no need to keep this directory.

20 years agoMake authentication of SNPs work correctly - ie. conditionally like it is in
hasso [Sat, 1 Jan 2005 10:29:51 +0000 (10:29 +0000)]
Make authentication of SNPs work correctly - ie. conditionally like it is in
IOS.

20 years ago2004-12-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Thu, 30 Dec 2004 15:11:19 +0000 (15:11 +0000)]
2004-12-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* ospf_network.c: Improve all setsockopt error messages to give detailed
  information on the arguments.

20 years agoAdd comment explaining about limit of 20 joined groups on a socket.
gdt [Thu, 30 Dec 2004 13:50:32 +0000 (13:50 +0000)]
Add comment explaining about limit of 20 joined groups on a socket.

20 years ago2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 29 Dec 2004 21:04:48 +0000 (21:04 +0000)]
2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* ospf_packet.c: (ospf_db_desc) Reduce severity of "Negotiation done"
  messages from LOG_WARNING to LOG_INFO, since this seems to be
  normal.

20 years ago2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 29 Dec 2004 20:41:26 +0000 (20:41 +0000)]
2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* ospf_packet.c: (ospf_read) Always look up the interface if
  ospf_recv_packet returns NULL ifp, since some platforms such
  as Solaris 8 appear to support ifindex retrieval but don't.

20 years agoadd XXX comment that perhaps we need to recover from short headers.
gdt [Wed, 29 Dec 2004 20:12:59 +0000 (20:12 +0000)]
add XXX comment that perhaps we need to recover from short headers.

20 years agoReally fix crashes now. Revert isis_circuit_update_params() part of previous
hasso [Wed, 29 Dec 2004 20:06:41 +0000 (20:06 +0000)]
Really fix crashes now. Revert isis_circuit_update_params() part of previous
commit. Replace all if_is_up() calls with if_is_operative().

20 years ago2004-12-29 Greg Troxel <gdt@poblano.ir.bbn.com>
gdt [Wed, 29 Dec 2004 20:06:23 +0000 (20:06 +0000)]
2004-12-29  Greg Troxel  <gdt@poblano.ir.bbn.com>

* sockopt.c (getsockopt_ipv4_ifindex): Document calling
convention.  Beef up comments.  Handle the case where the cmsghdr
has a zero controllen, or more specifically when the wanted option
is not present.  This is needed for Solaris 8, and in general for
any platform for which configure finds a method and it can fail.
Mark some changes with XXX to be cleaned up post 0.98.

20 years agoDon't crash during interface up/down events.
hasso [Wed, 29 Dec 2004 19:34:22 +0000 (19:34 +0000)]
Don't crash during interface up/down events.

20 years ago2004-12-29 Greg Troxel <gdt@poblano.ir.bbn.com>
gdt [Wed, 29 Dec 2004 18:53:30 +0000 (18:53 +0000)]
2004-12-29  Greg Troxel  <gdt@poblano.ir.bbn.com>

* sockopt.c (getsockopt_ipv4_ifindex): Return 0 when passed a NULL
  cmsghdr pointer.

I believe this will avoid ospfd crashing on Solaris 8, which seems to
define IP_RECVIF but not actually implement it.

20 years ago2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 29 Dec 2004 17:50:22 +0000 (17:50 +0000)]
2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* configure.ac: Add new option --enable-gcc-rdynamic to link
  with -rdynamic.

20 years ago2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 29 Dec 2004 17:45:08 +0000 (17:45 +0000)]
2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* watchquagga.c: In several places, cast pid_t to int for printf to
  avoid complaints on Solaris 8.

20 years ago2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 29 Dec 2004 17:39:10 +0000 (17:39 +0000)]
2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* watchquagga.c: Fix headers: get most stuff from zebra.h.

20 years ago2004-12-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Tue, 28 Dec 2004 21:43:17 +0000 (21:43 +0000)]
2004-12-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* sockopt.c: (setsockopt_ipv4_ifindex) Improve error message.
  When neither IP_PKTINFO nor IP_RECVIF is defined, make return value
  deterministic (-1).

20 years ago2004-12-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Tue, 28 Dec 2004 17:00:12 +0000 (17:00 +0000)]
2004-12-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* thread.c: (funcname_thread_add_timer_msec) Reduce overflow risk.

20 years ago*.c: Change level of debug messages to LOG_DEBUG.
hasso [Fri, 24 Dec 2004 06:00:11 +0000 (06:00 +0000)]
*.c: Change level of debug messages to LOG_DEBUG.

20 years agozlog_* cleanup. Level of debug messages to LOG_DEBUG.
hasso [Fri, 24 Dec 2004 00:14:50 +0000 (00:14 +0000)]
zlog_* cleanup. Level of debug messages to LOG_DEBUG.

20 years ago2004-12-23 Paul Jakma <paul@dishone.st>
paul [Thu, 23 Dec 2004 20:09:44 +0000 (20:09 +0000)]
2004-12-23 Paul Jakma <paul@dishone.st>

configure.ac: Bump version to 0.97.4
doc/quagga.info: ditto (autogenerated file)

20 years ago2004-12-23 Paul Jakma <paul@dishone.st>
paul [Thu, 23 Dec 2004 19:35:56 +0000 (19:35 +0000)]
2004-12-23 Paul Jakma <paul@dishone.st>

* watchquagga.c: Add missing getopt.h include

20 years ago2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Thu, 23 Dec 2004 00:00:58 +0000 (00:00 +0000)]
2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* redhat/quagga.spec.in: daemonv6_list should contain only IPv6 daemons.

20 years ago2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 17:52:29 +0000 (17:52 +0000)]
2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* redhat/quagga.spec.in: Add watchquagga, and fix some other
  logic to make sure that all daemons are restarted on upgrades
  and stopped on package removal.

20 years ago2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 17:00:46 +0000 (17:00 +0000)]
2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* watchquagga.c: Try for gcc 2.95 compatibility (avoid %z and a tricky
  initialization).

20 years ago2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 16:32:16 +0000 (16:32 +0000)]
2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* connected.c: (connected_add_ipv4) Limit warning about /32 addresses
  with no peer specified to PtP interfaces only.

20 years ago2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 16:18:53 +0000 (16:18 +0000)]
2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* redhat/quagga.sysconfig: Define some variables to support watchquagga.

20 years ago2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 16:17:16 +0000 (16:17 +0000)]
2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* watchquagga.c: Add -b option to circumvent difficulties passing
  embedded spaces in command-line arguments.  This is an ugly hack,
  we should probably use a config file instead.

20 years agoShow sums of checksums in "show ip ospf" output. Okayed by Paul and James
hasso [Wed, 22 Dec 2004 16:16:02 +0000 (16:16 +0000)]
Show sums of checksums in "show ip ospf" output. Okayed by Paul and James
R. Leu (author of original idea).

20 years ago2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 15:37:44 +0000 (15:37 +0000)]
2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* watchquagga.c: Use new config.h define for DAEMON_VTY_DIR.

20 years ago2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 15:35:12 +0000 (15:35 +0000)]
2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* configure.ac: Add a define for DAEMON_VTY_DIR in config.h.

20 years ago2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 14:08:13 +0000 (14:08 +0000)]
2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* watchquagga.c: Get PATH_WATCHQUAGGA_PID from config.h.

20 years ago2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 14:03:52 +0000 (14:03 +0000)]
2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* {configure.ac,Makefile.am}: Build watchquagga by default.

20 years agoFix "show ip ospf" output. If router is configured as "translate-never", we
hasso [Wed, 22 Dec 2004 13:09:59 +0000 (13:09 +0000)]
Fix "show ip ospf" output. If router is configured as "translate-never", we
say so - we can never be translator.

20 years agoMore cosmetical vtysh fixes.
hasso [Wed, 22 Dec 2004 11:53:09 +0000 (11:53 +0000)]
More cosmetical vtysh fixes.

20 years agoShow debug configuration in vtysh.
hasso [Wed, 22 Dec 2004 09:43:20 +0000 (09:43 +0000)]
Show debug configuration in vtysh.

20 years agoNo delimiter between "ip forwarding" and "ipv6 forwarding".
hasso [Wed, 22 Dec 2004 09:27:42 +0000 (09:27 +0000)]
No delimiter between "ip forwarding" and "ipv6 forwarding".

20 years ago2004-12-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 03:41:51 +0000 (03:41 +0000)]
2004-12-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* .cvsignore: Added.

20 years ago2004-12-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 03:16:59 +0000 (03:16 +0000)]
2004-12-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* NEWS: Note addition of watchquagga.
* HACKING: Note that watchquagga is in testing phase.

20 years ago2004-12-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 03:08:25 +0000 (03:08 +0000)]
2004-12-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* watchquagga: New watchquagga daemon.

20 years ago2004-12-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 03:05:37 +0000 (03:05 +0000)]
2004-12-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* redhat/Makefile.am: Added watchquagga.init to EXTRA_DIST.

20 years ago2004-12-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 03:02:46 +0000 (03:02 +0000)]
2004-12-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* redhat/watchquagga.init: New file, init script for watchquagga.

20 years ago2004-12-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 22 Dec 2004 02:56:38 +0000 (02:56 +0000)]
2004-12-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* {ChangeLog,watchquagga.c,Makefile.am}: Created.

20 years ago2004-12-21 Paul Jakma <paul.jakma@sun.com>
paul [Wed, 22 Dec 2004 00:15:34 +0000 (00:15 +0000)]
2004-12-21 Paul Jakma <paul.jakma@sun.com>

* stream.c: Dont allocate streams with 0 sized data buffers

20 years ago2004-12-21 Paul Jakma <paul.jakma@sun.com>
paul [Tue, 21 Dec 2004 22:34:58 +0000 (22:34 +0000)]
2004-12-21 Paul Jakma <paul.jakma@sun.com>

* if.h: Add more 'non-generic' IFF_ flags.
* if.c: IFF_NOXMIT/IFF_VIRTUAL interfaces are 'loopback like'

20 years agoFix "show ipv6 route <proto>" command.
hasso [Sat, 18 Dec 2004 16:03:28 +0000 (16:03 +0000)]
Fix "show ipv6 route <proto>" command.

20 years agoAdd isisd.8 into list of man pages.
hasso [Sat, 18 Dec 2004 15:59:25 +0000 (15:59 +0000)]
Add isisd.8 into list of man pages.

20 years ago2004-12-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Fri, 17 Dec 2004 23:16:33 +0000 (23:16 +0000)]
2004-12-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* command.c: (do_echo) Added new "echo" command, useful for
  watchdog pinging to make sure the daemon is responsive.

20 years ago2004-12-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Fri, 17 Dec 2004 20:50:00 +0000 (20:50 +0000)]
2004-12-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* pid_output.c: (pid_output_lock) Eliminate static function, and just
  use the #ifdef to decide which version of the function to include.
  This eliminates a compilation problem with gcc4.  And fix the
  non-fcntl version so that it actually compiles.  Exit with
  status 1 instead of -1 on error.

20 years ago2004-12-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Thu, 16 Dec 2004 16:18:13 +0000 (16:18 +0000)]
2004-12-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* ripng_nexthop.c: Replace NEXTHOP_OUT macro with NEXTHOP_OUT_PTR,
  since it's not really OK to take the address of a ternary expression.
  (_ripng_rte_cmp,ripng_rte_send) Use new NEXTHOP_OUT_PTR macro
  instead of NEXTHOP_OUT.

20 years ago2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 15 Dec 2004 17:41:14 +0000 (17:41 +0000)]
2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* sigevent.c: (trap_default_signals) Ignore SIGPIPE instead of exiting.

20 years ago2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 15 Dec 2004 15:07:19 +0000 (15:07 +0000)]
2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* ospf_interface.h: Declare new function ospf_default_iftype.
* ospf_interface.c: (ospf_default_iftype) New function to centralize
  this logic in one place.
* ospf_zebra.c: (ospf_interface_add) Use new function
  ospf_default_iftype.
* ospf_vty.c: (no_ip_ospf_network,config_write_interface) Fix logic
  by using new function ospf_default_iftype.

20 years ago2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 15 Dec 2004 14:55:51 +0000 (14:55 +0000)]
2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* ripd.c: (rip_read) Improve 2 error messages to show the source of
  the packet when the lookup fails.

20 years ago2004-12-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Sat, 11 Dec 2004 18:00:06 +0000 (18:00 +0000)]
2004-12-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* ospf_packet.c: (ospf_db_desc) Should be static, not global.
  (ospf_hello,ospf_db_desc,ospf_ls_upd,ospf_ls_ack) Improve warning
  messages to include identifying information (e.g. router id).
* ospf_nsm.c: (nsm_change_state) Improve info message to include
  router id and state names.

20 years ago2004-12-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Fri, 10 Dec 2004 22:43:17 +0000 (22:43 +0000)]
2004-12-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* log.c: (zlog_signal,_zlog_assert_failed) Change logging level back to
  LOG_ERR instead of LOG_EMERG.

20 years ago2004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Thu, 9 Dec 2004 17:26:31 +0000 (17:26 +0000)]
2004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* log.c: (hex_append) No need to include this function if
  HAVE_GLIBC_BACKTRACE is not defined.

20 years ago * ospf_apiserver.c (ospf_apiserver_term): Obtain struct
gdt [Thu, 9 Dec 2004 16:30:04 +0000 (16:30 +0000)]
   * ospf_apiserver.c (ospf_apiserver_term): Obtain struct
        ospf_apiserver * from listnode.  Remove unused variables.  Follows
        suggestion from Jay Fenlason.

20 years ago2004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Thu, 9 Dec 2004 15:15:03 +0000 (15:15 +0000)]
2004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* vtysh.c: (vtysh_connect) No reason to call geteuid and getegid,
  the results were never used.

20 years agoadd XXX comment about hex_append being unused.
gdt [Thu, 9 Dec 2004 14:53:32 +0000 (14:53 +0000)]
add XXX comment about hex_append being unused.
(only used if HAVE_GLIBC_BACKTRACE, so perhaps ifdef it?)

20 years agoospf_apiserver_term:
gdt [Thu, 9 Dec 2004 14:51:03 +0000 (14:51 +0000)]
ospf_apiserver_term:
  Remove unused variable.

  Add comment: this is seriously broken, and needs fixing.  It appears
  likely to segfault if ever called.  Comments please - should I make
  the fix I suggest in the comment?  -gdt

20 years agoadd comments about warnings
gdt [Thu, 9 Dec 2004 14:49:51 +0000 (14:49 +0000)]
add comments about warnings

20 years agoAdd const to char * to quiet warnings.
gdt [Thu, 9 Dec 2004 14:48:12 +0000 (14:48 +0000)]
Add const to char * to quiet warnings.

Note two warnings in comments.  The serious one is that struct
interface->ifindex probably needs to be signed, ssince we store and
compare to -1.

20 years agoadd comment about warning of comparison between signed and unsigned
gdt [Thu, 9 Dec 2004 14:47:09 +0000 (14:47 +0000)]
add comment about warning of comparison between signed and unsigned

20 years agoAdd comments with warnings obtained on NetBSD/i386. Both are due to
gdt [Thu, 9 Dec 2004 14:46:46 +0000 (14:46 +0000)]
Add comments with warnings obtained on NetBSD/i386.  Both are due to
size_t being used for streams.  Perhaps cast to unsigned long before
printf?  Surely that's big enough even if size_t could be larger in
theory.

(no changelog, since only comment changes)

20 years ago2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 8 Dec 2004 22:01:48 +0000 (22:01 +0000)]
2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* *.h: Change level of debug messages to LOG_DEBUG.

20 years ago2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 8 Dec 2004 21:10:20 +0000 (21:10 +0000)]
2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* *.c: Change level of debug messages to LOG_DEBUG.

20 years ago2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 8 Dec 2004 21:03:23 +0000 (21:03 +0000)]
2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* *.c: Change level of debug messages to LOG_DEBUG.

20 years ago2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs [Wed, 8 Dec 2004 20:47:40 +0000 (20:47 +0000)]
2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* *.c: Change level of debug messages to LOG_DEBUG.