| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Some changes are allowed when link is down but interface is up.
Others (like delete) should not be possible when only link is down.
|
|
|
|
| |
chang ospf_snmp_if_new
|
|
|
|
| |
Marked unused by compiler
|
| |
|
|
|
|
| |
More compiler warning removal
|
| |
|
|
|
|
| |
Simple conversion of XMALLOC/memset to XCALLOC
|
| |
|
|
|
|
| |
Doesn't really help and unlikely to get upstream (pun intended).
|
|\ |
|
| |
| |
| |
| |
| | |
Use Ansi-C prototypes rather than old K&R method of declaring
function without arguments
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Whenever a thread adds an timer funcname_thread_add_timer_timeval() gets called
to add the timer. Before adding the timer a quagga_gettimeofday() call
is made to do some time house keeping. However quagga_gettimeofday() only
updates recent_time, not relative_time that is used to calculate
the alarm_time. Replace with quagga_get_relative (NULL)
|
| |
| |
| |
| |
| |
| |
| |
| | |
The int type cast should be on the whole expression
passed to the mod operator. Otherwise it won't work
when/if c0/c1 is unsigned.
Making c0/c1 unsigned makes it possible to use 5802
as MODX value.
|
| |
| |
| |
| |
| | |
* quagga.spec.in: No need to default to accomodate now ancient versions of
Fedora
|
| |
| |
| |
| | |
Set TOS correctly on RIP packets.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Explicitly shutdown any running routing daemons when zebra is shutdown
|
|/ / |
|
| |
| |
| |
| | |
The protocols will be started by protocols template.
|
|\ \ |
|
| | | |
|
|/ /
| |
| |
| |
| | |
There is a possiblity of some hostile netlink user getting
bogus responses in the conversation between zebra and kernel.
|
| |
| |
| |
| |
| | |
When interface is renamed notify daemons of addresses that are
now available.
|
| |
| |
| |
| | |
More diagnostic messages in case of updating existing route.
|
| |
| |
| |
| | |
More messages in case of netlink errors, and debugging
|
| |
| |
| |
| | |
If route type or other index changes flag it as changed.
|
| |
| |
| |
| |
| |
| | |
In the case of rename, delete_retain would be called twice. Once
when the interface is removed from the system, and again when
interface is being replaced during rename.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If a routing daemon crashes, the quagga code sets up a signal handler
and catches the exception and produces a backtrace. If the code is
not stripped then the backtrace can include symbolic information
that can be useful for debugging.
Save space by not including full debug symbols.
|
| | |
|
| |
| |
| |
| | |
these files are created by build
|
| |
| |
| |
| |
| |
| | |
When interface is created, associate it with any pre-existing
configuration. When interface is renamed, notify protocols that
is deleted/added but keep existing address information.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 3b1779981cd67679dd4cddd70160859ca3d862d7.
Conflicts:
zebra/rt_netlink.c
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This resolves issue with static routes of multilink.
In the multilink case, route is created before device exists.
Later device is created as ppp0 and gets renamed to ml0.
Zebra needed to orphan the old interface structure and create
a new one to correctly match up the interface with the inactive
route.
|
| |\ \ |
|
| | |\ \ |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Need to delete then add since zebra has no clean way to pass around
rename, and the configuration is based on name not ifindex.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Need to handle the case where interface comes back after being
deleted. After deletion state is retained but ifindex is set to
IFINDEX_INTERNAL. When new interface arrives with same name, then
update index
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The name has to continue to exist after delete in order to prevent
crashes of daemon (BZ 3990) and restart of multilink interfaces (BZ 3987).
|
| | |\| | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Speed up shutdown by using the existing pid file, and having
start-stop-daemon do the retry.
|
| | | | |
| | | | |
| | | | |
| | | | | |
This optimization is by default off with -Os
|
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
Kernel can sometimes send delete address messages after
device has been deleted.
|
| |\ \ \
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This addresses potential issues with link management when
multiple routing protocols are in use.
Also fix non-linux build issues
|