Age | Commit message (Collapse) | Author |
|
* 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.
|
|
|
|
commit. Replace all if_is_up() calls with if_is_operative().
|
|
* 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.
|
|
|
|
* 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.
|
|
* configure.ac: Add new option --enable-gcc-rdynamic to link
with -rdynamic.
|
|
* watchquagga.c: In several places, cast pid_t to int for printf to
avoid complaints on Solaris 8.
|
|
* watchquagga.c: Fix headers: get most stuff from zebra.h.
|
|
* sockopt.c: (setsockopt_ipv4_ifindex) Improve error message.
When neither IP_PKTINFO nor IP_RECVIF is defined, make return value
deterministic (-1).
|
|
* thread.c: (funcname_thread_add_timer_msec) Reduce overflow risk.
|
|
|
|
|
|
configure.ac: Bump version to 0.97.4
doc/quagga.info: ditto (autogenerated file)
|
|
* watchquagga.c: Add missing getopt.h include
|
|
* redhat/quagga.spec.in: daemonv6_list should contain only IPv6 daemons.
|
|
* 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.
|
|
* watchquagga.c: Try for gcc 2.95 compatibility (avoid %z and a tricky
initialization).
|
|
* connected.c: (connected_add_ipv4) Limit warning about /32 addresses
with no peer specified to PtP interfaces only.
|
|
* redhat/quagga.sysconfig: Define some variables to support watchquagga.
|
|
* 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.
|
|
R. Leu (author of original idea).
|
|
* watchquagga.c: Use new config.h define for DAEMON_VTY_DIR.
|
|
* configure.ac: Add a define for DAEMON_VTY_DIR in config.h.
|
|
* watchquagga.c: Get PATH_WATCHQUAGGA_PID from config.h.
|
|
* {configure.ac,Makefile.am}: Build watchquagga by default.
|
|
say so - we can never be translator.
|
|
|
|
|
|
|
|
* .cvsignore: Added.
|
|
* NEWS: Note addition of watchquagga.
* HACKING: Note that watchquagga is in testing phase.
|
|
* watchquagga: New watchquagga daemon.
|
|
* redhat/Makefile.am: Added watchquagga.init to EXTRA_DIST.
|
|
* redhat/watchquagga.init: New file, init script for watchquagga.
|
|
* {ChangeLog,watchquagga.c,Makefile.am}: Created.
|
|
* stream.c: Dont allocate streams with 0 sized data buffers
|
|
* if.h: Add more 'non-generic' IFF_ flags.
* if.c: IFF_NOXMIT/IFF_VIRTUAL interfaces are 'loopback like'
|
|
|
|
|
|
* command.c: (do_echo) Added new "echo" command, useful for
watchdog pinging to make sure the daemon is responsive.
|
|
* 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.
|
|
* 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.
|
|
* sigevent.c: (trap_default_signals) Ignore SIGPIPE instead of exiting.
|
|
* 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.
|
|
* ripd.c: (rip_read) Improve 2 error messages to show the source of
the packet when the lookup fails.
|
|
* 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.
|
|
* log.c: (zlog_signal,_zlog_assert_failed) Change logging level back to
LOG_ERR instead of LOG_EMERG.
|
|
* log.c: (hex_append) No need to include this function if
HAVE_GLIBC_BACKTRACE is not defined.
|
|
ospf_apiserver * from listnode. Remove unused variables. Follows
suggestion from Jay Fenlason.
|