| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Adding a route that already exists, or deleting a route that is
already gone, should not be an error.
|
|
|
|
|
|
| |
Want to remember connected routes even if they aren't active at the
current time.
This reverts commit 84cc940a9b74d5a867a5598f4b0f6c657eb61c9c.
|
|
|
|
|
|
|
|
| |
If a link state change event causes a different nexthop, then
the RIB (and FIB) need to be updated. Solved by forcing the CHANGED
flag. This code could be rearranged to be cleaner in future.
Bugfix 3434
|
|
|
|
|
| |
Make the trivial boolean functions inline to help performance
and code size.
|
|
|
|
|
| |
Mostly from incorrect usage of z option. Need to use:
printf(" size = %zd", x->size);
|
|
|
|
|
| |
- added code in vyatta-quagga.postinst to write smux values into
repesctive routing daemon config files if not written till then
|
|\ |
|
| |\ |
|
| | | |
|
| |/
|/|
| |
| |
| | |
Bugfix 3433, 3434
Need to rescan for recursive routes after any change to static route.
|
| |
| |
| |
| |
| | |
Bugfix 2847
Set TOS to internet control for BGP traffic
|
| |
| |
| |
| |
| | |
This is the IPV6 analog to earlier changes to IPV4 static route
management.
|
| |
| |
| |
| |
| | |
The shell here document only strips tabs not spaces,
so the config file ended up with messy entry
|
| |
| |
| |
| |
| |
| |
| | |
Need to handle all the different flavors of connected routes
in linkstate management
Bugfix: 2904, 3416
|
| |
| |
| |
| |
| | |
The route_info table can be static const, and the vrf_table can be
static.
|
|/
|
|
|
| |
Need to check both IFF_UP and IFF_RUNNING if link-detect is enabled,
before announcing routes.
|
|
|
|
|
| |
This reverts commit a182091782d22218942466b062c5ef2406853491.
More changes that should NOT go into hollywood
|
|
|
|
|
| |
This reverts commit 17cf20dabb137205497d81f7c55efa45a4e50748.
Stuff for next release snuck into hollywood branch
|
| |
|
|
|
|
|
|
|
|
| |
Having kernel cleanup FIB was not ideal for a couple reasons:
1. It still generates lots of netlink events if there are lots
of static routes.
2. Kernel changes were not accepted in mainline kernel "do it in
userspace"
|
|\ |
|
| |\ |
|
| | | |
|
| |/
| |
| |
| |
| | |
If route server client is being used, then peer->rib entry
would get freed twice.
|
|\| |
|
| |
| |
| |
| |
| |
| | |
vtysh uses PACKAG_NAME in PAM therfore expects /etc/pam.d/quagga.pam.
But dh_installpam only handles package.pam normally, so use option
to install other file.
|
| |
| |
| |
| |
| |
| | |
The PAM system is asking for quagga (not vyatta-quagga) so need
to change the name of the pam file. Make sure file is setup to allow
users in quaggavty group to access vtysh without password.
|
| |\ |
|
| | |
| | |
| | |
| | | |
Fix the PAM setup file.
|
| | | |
|
| |/
|/|
| |
| |
| |
| | |
Bugfix: 3160
Null pointers that in peer tables after free to prevent problems
with double free.
|
| |
| |
| |
| | |
Add more prototypes and make some functions static
|
| |
| |
| |
| | |
included same file twice
|
| |
| |
| |
| |
| | |
Fix easy compiler warnings about unused code by marking them with #if 0
Add one missing printf argument.
|
| |
| |
| |
| |
| |
| |
| | |
ISISD has several different methods and only one is valid on each system,
so running the others through the preprocessor gives warnings for missing
includes. Instead, only run the few isisd files that have VTY stuff through
the extraction step.
|
| |
| |
| |
| |
| |
| | |
To get rid of warnings:
* remove unused functions with ifdef
* use correct printf formats
|
| |
| |
| |
| | |
ifdef out some unused functions to get rid of warnings.
|
| |
| |
| |
| | |
size is size_t not int.
|
| |
| |
| |
| | |
Excise dead code to remove compiler warning
|
| |
| |
| |
| |
| |
| |
| | |
Potential format incompatiablities because flags field in zebra is
uint64_t but the printf format was only 32 bit. For safety, convert
the flags field to unsigned long long. Since it is really a bit
field print in hex.
|
| |
| |
| |
| | |
remove unused code, compiler flags this as unused
|
| |
| |
| |
| |
| |
| |
| |
| | |
To eliminate compiler warnings
* comment out unused code
* fix printf formats
* remove always true expression
* initialize variables
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes to eliminate warnings:
* Use %td for pointer diff printf format
* Use %zd for size_t printf format
* Change asn buffers to use u_char
* make some functions local
* add some casts
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Compiler warned about dubious code where test was:
char auth_str[];
...
if (!auth_str)
return 0;
Looks like what was meant was testing for empty auth
string.
|
| |
| |
| |
| | |
Enable ipv6 link detect in kernel if needed.
|
|/
|
|
|
| |
Rather that looking for /proc/sys/net/ipv4/conf, use --enable-linkdetect
flag to configure.
|
|
|
|
|
| |
If interface has link-detect enabled, try and turn on link-detect
in the kernel.
|
| |
|
|\ |
|
| | |
|