| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2006-06-15 Paul Jakma <paul.jakma@sun.com>
* lib/if.c: (if_flag_dump) remove the whitespace indentation, callers
should provide.
* zebra/interface.c: (if_flag_dump_vty) redundant code, remove.
(if_dump_vty) use libzebra if_flag_dump.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2006-05-21 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* if.h: (struct connected) Document the meaning of the
ZEBRA_IFC_REAL and ZEBRA_IFC_CONFIGURED flags.
* connected.c: (connected_withdraw) Do not delete the connected
address if the ZEBRA_IFC_CONFIGURED flag is set.
(connected_add_ipv4,connected_add_ipv6) Before calling
connected_withdraw, unset the ZEBRA_IFC_CONFIGURED flag
on the superseded connected structure.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2006-05-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* connected.c: (connected_add_ipv4,connected_add_ipv6) If the
new struct connected matches an already existing one
(that will consequently be removed by connected_withdraw),
then be sure to preserve the ZEBRA_IFC_CONFIGURED flag.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2006-05-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* kernel_socket.c: (ifam_read_mesg) Improve debug message
to show the IP address.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2006-05-15 Paul Jakma <paul.jakma@sun.com>
* zserv.c: (general) Remove the private zebra_command_str
in favour of newly added libzebra zserv_command_string.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2006-05-11 Paul Jakma <paul.jakma@sun.com>
* interface.c: (if_delete_update) route_node_lookup may return
NULL, should fix Coverity CID #31.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2006-02-09 Paul Jakma <paul.jakma@sun.com>
* rib.h: (struct {rib,nexthop}) Rearrange fields to avoid
needless padding.
(struct rib) Remove the indirect pointer, not used anywhere!
|
| | |
| | |
| | |
| | |
| | | |
Bugfix 3732
Notify routing protocols about MTU changes
|
| | |
| | |
| | |
| | |
| | | |
Avoid possible problems where netlink message is being formatted
with unsigned 32 bit value, which was being read as int.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Quagga needs to fully cleanout state when interface is deleted from
system.
Bugfix: 3962, 3693
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Set metric in RIB to keep OSPF happy, but don't set the
metric in the kernel since the kernel portion of connected route
has metric=0.
Bugfix 3668
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bugfix 3658
If inactive device is renamed, just do it.
If active device is renamed, update RIB if needed.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bugzilla 3681 fix.
Routes from 'ip route' default to protocol boot. Need to use this
same value when deleting or udpating.
|
| | |
| | |
| | |
| | |
| | |
| | | |
There are two distinct pid's in netlink message. The one in
the receive address is the pid of the sender (ie kernel),
the other in the netlink message is the originator (ie quagga or ip command).
|
| | |
| | |
| | |
| | | |
This reverts commit e5d63369e1f3fdc1c22ae15fe477de1f97022703.
|
| | |
| | |
| | |
| | | |
Replace calls to XMALLOC followed by memset with XCALLOC.
|
| | |
| | |
| | |
| | |
| | | |
This is a refinement of the socket filter, and also closes a security
hole that would allow non-kernel messages to confuse quagga.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This adds a new flag to the zebra daemon that causes it to add and
remove system routes (ie connected and kernel routes). This causes
user space (zebra) to do what the kernel was doing in hollwood.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Do some cleanup work on recently added meta-queue code:
* use table rather than switch
* indent with quagga standard indentation
* since meta_queue_new is only used at initialization
allocation failure should be fatal.
|
| | |
| | |
| | |
| | |
| | | |
The cmd_nodes used to configure vty, can mostly be static so
(basic data hiding 101).
|
| | |
| | |
| | |
| | | |
May also fix one issue with ipv6 static routes.
|
| | |
| | |
| | |
| | | |
This stuff is only used in RIB code
|
| | |
| | |
| | |
| | | |
Message tables should be unaltered.
|
| | |
| | |
| | |
| | | |
Get rid of some conflicts / overlaps from merge of upstream.
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
NEWS
bgpd/ChangeLog
bgpd/bgp_attr.c
bgpd/bgp_network.c
bgpd/bgp_packet.c
bgpd/bgp_vty.c
bgpd/bgpd.c
bgpd/bgpd.h
lib/sockopt.c
lib/sockopt.h
lib/zebra.h
mkinstalldirs
zebra/rib.h
zebra/rt_netlink.c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-07-01 Paul Jakma <paul.jakma@sun.com>
* ioctl.c: (if_get_flags) Deal more gracefully with failure
of the BSD link-state SIOCGIFMEDIA ioctl, as some interfaces
apparently don't implement it (e.g. tun).
Also, make BSD link-state checking be conditional on the
'link-detect' interface configuration flag, as it should be.
Fixes bug #465.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
2008-05-29 Martin Nagy <mnagy@redhat.com>
* */*main.c: Sanity check port numbers before using.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-05-29 Stephen Hemminger <stephen.hemminger@vyatta.com>
* rt_netlink.c: (netlink_install_filter) BPF filter to catch and
drop responses to zebra's own route messages.
(kernel_init) add BPF filter on the netlink socket.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-01-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* lib/zebra.h: Revert previous change, no need to include
<net/if_media.h> here.
* zebra/ioctl.c: If HAVE_BSD_LINK_DETECT is defined, include
<net/if_media.h>
(if_get_flags) Remove debug messages about BSD link state.
* zebra/kernel_socket.c: (bsd_linkdetect_translate) If link state
is unknown, we should set the IFF_RUNNING flag.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-01-10 Ingo Flaschberger <if@xip.at>
* configure.ac: Define HAVE_BSD_LINK_DETECT if <net/if_media.h> is
present.
* lib/zebra.h: If HAVE_BSD_LINK_DETECT is defined,
include <net/if_media.h>.
* zebra/ioctl.c: (if_get_flags) If HAVE_BSD_LINK_DETECT, use the
SIOCGIFMEDIA ioctl to ascertain link state.
* zebra/kernel_socket.c: (bsd_linkdetect_translate) New function to
map the ifm_data.ifi_link_state value into the IFF_RUNNING flag.
(ifm_read) Call bsd_linkdetect_translate to fix the IFF_RUNNING
flag before calling if_flags_update.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2008-01-08 Michael Larson <mike@vyatta.com>
* zebra_rib.c: (nexthop_active_check) Replace if_is_up with
if_is_operative to solve problems with static interface
routes not behaving properly with link-detect.
|
| | |
| | |
| | |
| | | |
existing static routes to be revalidated)
|
| | |
| | |
| | |
| | |
| | |
| | | |
the RIB debug changeset).
after
|
| | | |
|
| | |
| | |
| | |
| | | |
calls. Fixed.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
of the first one before dying
+ we are not going to receive routing messages originated by old_pid,
because rib_sweep_route() is called after damon() now. This will allow
to drop old_pid completely soon.
|
| | | |
|
| | |
| | |
| | |
| | | |
to zlog_err() uninitialized with debug disabled. Fixed.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
zebra/zebra_rib.c:nexthop_active_update())
|
| | | |
|
| | | |
|