summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * configure.ac: Bump version to 0.98.3.quagga.0.98.3.releasehasso2005-04-014-7/+15
| | | | * doc/quagga.info: Version bump (autogenerated)
* * ospf_dump.c: (show_debugging_ospf) Show if ospf event debugginghasso2005-04-012-0/+11
|\ | | | | | | | | | | is turned on. [backport from HEAD]
* | * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmdhasso2005-04-012-10/+11
|\| | | | | | | | | | | | | | | although we do now actually. * rt_netlink.c (netlink_route, netlink_route_multipath): Always use netlink_cmd to send messages to the kernel. [backport from HEAD]
| * * rt_netlink.c (netlink_talk_filter): Show always warning message,hasso2005-03-312-12/+14
| | | | | | | | | | | | | | | | | | | | it's not for debug. * rt_netlink.c (netlink_talk): Don't assume we use netlink_cmd although we do now actually. * rt_netlink.c (netlink_route, netlink_route_multipath): Always use netlink_cmd to send messages to the kernel. [backport candidate]
| * 2005-03-31 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-03-312-0/+11
| | | | | | | | | | | | | | * ospf_dump.c: (show_debugging_ospf) Show if ospf event debugging is turned on. [backport candidate]
| * 2005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-03-305-75/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * irdp.h: Add prototype for irdp_sock_init, and fix protos for other irdp_* functions. * irdp_interface.c: (irdp_if_start) If irdp_sock is negative, call irdp_sock_init to create the IRDP socket. (irdp_if_init) Rename to irdp_init(). (get_iflist_ifp) Remove function that is a duplicate of if_lookup_by_index. (*) Make many functions static. And remove superfluous "\n" from several zlog messages. * irdp_main.c: (irdp_init) Remove function that used to call irdp_if_init() and irdp_sock_init(), since we will now create the socket only upon first use. (irdp_sock_init) Do not update global irdp_sock variable, just return the fd and assume that the caller will do so. If setsockopt calls fail, close the socket before returning -1. (*) Make many functions static. * irdp_packet.c: Initialize irdp_sock to -1. (irdp_read_raw) Call standard library function if_lookup_by_index instead of get_iflist_ifp. (irdp_recvmsg) Should be static, not global.
| * 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-03-296-1/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rt_netlink.c: (netlink_link_change) If the status of an operative interface changes (e.g. MTU changes), the client daemons should be notified by calling zebra_interface_up_update. Previously, the information was being updated in zebra's interface structure, but the clients were not notified of changes to an operative interface. * ospf_zebra.c: (ospf_interface_state_up) If the MTU of an operative interface changes, print a debug message and call ospf_if_reset() to simulate down/up on the interface. * ospf_interface.h: Declare new function ospf_if_reset(). * ospf_interface.c: (ospf_if_reset) New function to call ospf_if_down and ospf_if_up for all ospf interfaces attached to an interface.
| * 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-03-292-13/+21
| | | | | | | | | | | | | | * ospf_packet.c: (ospf_write_frags) Enhance error message to show MTU. Also make function static. (ospf_write) Enhance error message to show interface name and MTU. Also make function static.
| * 2005-03-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-03-292-20/+20
| | | | | | | | | | | | * ospf_vty.c (show_ip_ospf_interface_sub): Display interface MTU and bandwidth; this is useful for debugging problems. Also, the function should be static.
| * * extract.pl.in: Use SNMP_INCLUDES to avoid warnings if compiling withhasso2005-03-282-1/+6
| | | | | | | | snmp support.
| * * configure.ac, */Makefile.am: Fix previous commit. SNMP includeshasso2005-03-2810-13/+21
| | | | | | | | | | must be after lib/ includes in some systems. Introduce SNMP_INCLUDES for that.
| * * configure.ac: Fix most of "Presents But Cannot Compiled" warningshasso2005-03-272-4/+11
| | | | | | | | | | about various headers. CFLAGS is not correct place to specify includes, INCLUDES is for that.
* | * rt_netlink.c: [netlink_link_change] If the status of anhasso2005-03-306-1/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | operative interface changes [e.g. MTU changes], the client daemons should be notified by calling zebra_interface_up_update. Previously, the information was being updated in zebras interface structure, but the clients were not notified of changes to an operative interface. * ospf_zebra.c: [ospf_interface_state_up] If the MTU of an operative interface changes, print a debug message and call ospf_if_reset[] to simulate down/up on the interface. * ospf_interface.h: Declare new function ospf_if_reset[]. * ospf_interface.c: [ospf_if_reset] New function to call ospf_if_down and ospf_if_up for all ospf interfaces attached to an interface. [backport from HEAD]
* | * ospf6_interface.c: Fix crashes if elements is deleted in list loophasso2005-03-272-3/+11
| | | | | | | | | | | | and nextnode() call is attempted after that. Will be fixed with linked list cleanup in HEAD.
* | * ospf_snmp.c: Don't crash in snmp query if ospf instance doesn'thasso2005-03-272-0/+8
|\| | | | | | | | | | | exist at all. [backport from HEAD]
| * * ospf_snmp.c: Don't crash in snmp query if ospf instance doesn'thasso2005-03-272-0/+8
| | | | | | | | | | | | exist at all. [backport candidate]
| * * configure.ac: Add Intel compiler (icc) support. Although Intelhasso2005-03-272-5/+42
| | | | | | | | | | | | | | tries really hard to make icc look like gcc, there are some differences. It's very verbose with -Wall and it doesn't support the individual -W options. We are going to ignore some of these warnings.
| * Trying to finish previous commit ...hasso2005-03-261-1/+1
| |
| * * doc/defines.texi.in, lib/version.h.in: Update copyright string tohasso2005-03-262-1/+6
| | | | | | | | include year 2005.
* | * doc/defines.texi.in, lib/version.h.in: Update copyright string tohasso2005-03-263-2/+7
| | | | | | | | include year 2005.
* | * ospfd.h: Include log.h, fixes compile with gcc-4.0.hasso2005-03-252-0/+5
|\| | | | | | | [backport from HEAD]
| * * ospfd.h: Include log.h, fixes compile with gcc-4.0.hasso2005-03-252-0/+5
| | | | | | | | [backport candidate]
* | * zebra.h: Must check whether __attribute__ should be defined beforehasso2005-03-252-6/+14
|\| | | | | | | | | | | including zassert.h. [backport from HEAD]
| * 2005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>vincent2005-03-255-23/+468
| | | | | | | | | | * interface.c, interface.h, rtadv.c, rtadv.h: extensions to Neighbor discovery for Mobile IPv6.
| * 2005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>vincent2005-03-254-2/+92
| | | | | | | | * Extensions to Neighbor Discovery for Mobile IPv6
* | * bgp_route.c: Don't crash while clearing route tables if there ishasso2005-03-212-0/+9
|\| | | | | | | | | | | no particular afi/safi configured. [backport from HEAD]
| * * bgp_route.c: Don't crash while clearing route tables if there ishasso2005-03-212-0/+9
| | | | | | | | | | | | no particular afi/safi configured. [backport candidate]
| * 2005-03-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-03-162-6/+14
| | | | | | | | | | | | | | * zebra.h: Must check whether __attribute__ should be defined before including zassert.h. [backport candidate]
| * 2005-03-14 Paul Jakma <paul.jakma@sun.com>paul2005-03-1413-98/+113
| | | | | | | | | | | | | | | | | | | | * (global) update all c files to match the lib/vector.h rename of (struct vector).active to max, and vector_max macro to vector_active. * lib/vector.h: Rename to (struct vector).max to slightly less confusing active, for the number of active slots, distinct from allocated or active-and-not-empty. Rename vector_max to vector_active for same reason.
| * 2005-03-14 Paul Jakma <paul.jakma@sun.com>paul2005-03-142-366/+367
| | | | | | | | * command.c: (various) Fix indentation and other whitespace.
| * 2005-03-14 Paul Jakma <paul.jakma@sun.com>paul2005-03-142-33/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * command.c: (sort_node) use vector_max instead of referencing (struct vector *)->max directly. Test that vector_max is > 0 before using it to calculate an index. Fixup vector loop to make main body conditional on vector slot not being empty. (cmd_cmdsize) Fixup vector loop to make main body conditional on vector slot not being empty. (cmd_filter_by_completion) ditto (cmd_filter_by_string) ditto (is_cmd_ambiguous) ditto (cmd_describe_command_real) Change index integers to unsigned. Test that vector_max is > 0 before using it to calculate an index. Return immediately with CMD_ERR_NO_MATCH if vline has no active slots. Fixup vector loop to make main body conditional on vector slot not being empty. (cmd_complete_command_real) ditto. (cmd_execute_command_strict) Fixup vector loop to be conditional on non-null slot.
* | * configure.ac: Solaris 8 can use the newer lifreq based methodshasso2005-03-142-7/+12
|\| | | | | | | | | | | too, allows IPv6. [backport from HEAD]
* | * ospf_lsa.c: (ospf_lsa_refresh_walker) If the system clock jumpshasso2005-03-142-3/+15
|\| | | | | | | | | | | | | | | | | | | backward, then current time may be less than ospf->lsa_refresher_started. This was causing invalid values for ospf->lsa_refresh_queue.index resulting in infinite loops. Problem fixed by casting the expression to unsigned before taking the modulus. [backport from HEAD]
| * 2005-03-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-03-132-3/+15
| | | | | | | | | | | | | | | | | | | | | | * ospf_lsa.c: (ospf_lsa_refresh_walker) If the system clock jumps backward, then current time may be less than ospf->lsa_refresher_started. This was causing invalid values for ospf->lsa_refresh_queue.index resulting in infinite loops. Problem fixed by casting the expression to unsigned before taking the modulus. [backport candidate]
| * * zebra/interaface.c: "show interface description" commandhasso2005-03-132-0/+52
| | | | | | | | implemented.
| * 2005-03-12 Paul Jakma <paul.jakma@sun.com>paul2005-03-122-7/+12
| | | | | | | | | | * configure.ac: Solaris 8 can use the newer lifreq based methods too, allows IPv6.
| * 2005-03-12 Paul Jakma <paul@dishone.st>paul2005-03-122-4/+6
| | | | | | | | | | * rt_netlink.c: (netlink_route_multipath) dont set equalise flag. No stock Linux kernel has ever supported it, and even if it had
| * 2005-03-09 Paul Jakma <paul.jakma@sun.com>paul2005-03-092-1/+5
| | | | | | | | | | * command.c: (config_list_cmd) Don't list hidden or deprecated commands, hiding these from tab completion is still to be done.
| * 2005-03-09 Paul Jakma <paul.jakma@sun.com>paul2005-03-092-8/+12
| | | | | | | | | | | | * command.c: Undo commit of sign warning fix and hidden command in list_cmd. Sign warning is more subtle. list_cmd on its own will be committed after.
* | * connected.c, interface.c, interface.h: Revert secondary handlinghasso2005-03-124-197/+35
| | | | | | | | | | | | | | | | | | patch from Gilad Arnold commited in 2004-10-03. It wasn't possible to store ip addresses in zebra config any more for "dynamic" interfaces like vlans or ppp. "secondary" keyword for IPv4 addresses remains to be removed though. It isn't useful, because all kernels we support have their own views anyway what's primary and what's secondary.
* | * vtysh_config.c: Move password commands to the AAA_NODE. Ithasso2005-03-092-5/+13
|\| | | | | | | | | | | | | | | quarantees that they will appear after SERVICE_NODE to make sure that encrypted passwords will work ("service password-encryption" command). [backport from HEAD]
| * * vtysh_config.c: Move password commands to the AAA_NODE. Ithasso2005-03-092-5/+13
| | | | | | | | | | | | | | | | quarantees that they will appear after SERVICE_NODE to make sure that encrypted passwords will work ("service password-encryption" command). [backport candidate]
| * 2005-03-08 Paul Jakma <paul.jakma@sun.com>paul2005-03-083-8/+10
| | | | | | | | | | * command.c: (no_banner_motd_cmd) use XFREE. * vty.c: (vty_hello) fix the indentation and comment.
| * 2005-03-08 Paul Jakma <paul.jakma@sun.com>paul2005-03-083-7/+14
| | | | | | | | | | | | | | | | * command.c: (cmd_describe_command_real) sign compile warning fix (cmd_complete_command_real) ditto. (config_list_cmd) Don't list hidden or deprecated commands, hiding these from tab completion is still to be done. * command.h: cmd attr enum should start at 1.
| * 2005-03-08 Paul Jakma <paul.jakma@sun.com>paul2005-03-083-11/+21
| | | | | | | | | | | | | | * command.c: (banner_motd_file_cmd) use XSTRDUP/XFREE * vty.c: (vty_hello) suggestions from Andrew, read by line and stub out trailling non-printable characters on each line thus allowing us to specify VTY_NEWLINE to vty_out.
| * 2005-03-08 Jeroen Massar <jeroen@unfix.org>paul2005-03-084-2/+53
| | | | | | | | | | | | | | | | | | | | | | * vty.c: (vty_hello) display motd file, if set * command.h: add char *motdfile to struct host * command.c: (config_write_host) write out motdfile config (banner_motd_file_cmd) new command, allow motd to be read from file. (no_banner_motd_cmd) free motdfile string, if needs be. (cmd_init) init (struct host).motdfile. Add new motd file commands.
* | * isis_spf.c: host.name might be NULL.hasso2005-03-072-1/+6
| | | | | | | | [backport form HEAD]
* | * command.c: host.name might be NULL.hasso2005-03-073-2/+8
|\| | | | | | | | | | | * vty.c: Fix fd leak. [backport from HEAD]
* | * if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks.hasso2005-03-074-0/+8
|\| | | | | | | [backport from HEAD]
| * * isis_spf.c: host.name might be NULL.hasso2005-03-072-1/+6
| | | | | | | | [backport candidate]