| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* doc/quagga.info: Version bump (autogenerated)
|
|\
| |
| |
| |
| |
| | |
is turned on.
[backport from HEAD]
|
|\|
| |
| |
| |
| |
| |
| |
| | |
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]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
| |
| |
| |
| |
| |
| |
| | |
* ospf_dump.c: (show_debugging_ospf) Show if ospf event debugging
is turned on.
[backport candidate]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
snmp support.
|
| |
| |
| |
| |
| | |
must be after lib/ includes in some systems. Introduce SNMP_INCLUDES
for that.
|
| |
| |
| |
| |
| | |
about various headers. CFLAGS is not correct place to specify
includes, INCLUDES is for that.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
| |
| |
| |
| |
| |
| | |
and nextnode() call is attempted after that.
Will be fixed with linked list cleanup in HEAD.
|
|\|
| |
| |
| |
| |
| | |
exist at all.
[backport from HEAD]
|
| |
| |
| |
| |
| |
| | |
exist at all.
[backport candidate]
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
include year 2005.
|
| |
| |
| |
| | |
include year 2005.
|
|\|
| |
| |
| | |
[backport from HEAD]
|
| |
| |
| |
| | |
[backport candidate]
|
|\|
| |
| |
| |
| |
| | |
including zassert.h.
[backport from HEAD]
|
| |
| |
| |
| |
| | |
* interface.c, interface.h, rtadv.c, rtadv.h: extensions to Neighbor
discovery for Mobile IPv6.
|
| |
| |
| |
| | |
* Extensions to Neighbor Discovery for Mobile IPv6
|
|\|
| |
| |
| |
| |
| | |
no particular afi/safi configured.
[backport from HEAD]
|
| |
| |
| |
| |
| |
| | |
no particular afi/safi configured.
[backport candidate]
|
| |
| |
| |
| |
| |
| |
| | |
* zebra.h: Must check whether __attribute__ should be defined before
including zassert.h.
[backport candidate]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* (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.
|
| |
| |
| |
| | |
* command.c: (various) Fix indentation and other whitespace.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
|\|
| |
| |
| |
| |
| | |
too, allows IPv6.
[backport from HEAD]
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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]
|
| |
| |
| |
| | |
implemented.
|
| |
| |
| |
| |
| | |
* configure.ac: Solaris 8 can use the newer lifreq based methods
too, allows IPv6.
|
| |
| |
| |
| |
| | |
* rt_netlink.c: (netlink_route_multipath) dont set equalise flag.
No stock Linux kernel has ever supported it, and even if it had
|
| |
| |
| |
| |
| | |
* command.c: (config_list_cmd) Don't list hidden or deprecated
commands, hiding these from tab completion is still to be done.
|
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\|
| |
| |
| |
| |
| |
| |
| | |
quarantees that they will appear after SERVICE_NODE to make sure
that encrypted passwords will work ("service password-encryption"
command).
[backport from HEAD]
|
| |
| |
| |
| |
| |
| |
| |
| | |
quarantees that they will appear after SERVICE_NODE to make sure
that encrypted passwords will work ("service password-encryption"
command).
[backport candidate]
|
| |
| |
| |
| |
| | |
* command.c: (no_banner_motd_cmd) use XFREE.
* vty.c: (vty_hello) fix the indentation and comment.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
[backport form HEAD]
|
|\|
| |
| |
| |
| |
| | |
* vty.c: Fix fd leak.
[backport from HEAD]
|
|\|
| |
| |
| | |
[backport from HEAD]
|
| |
| |
| |
| | |
[backport candidate]
|