summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Handle races with add/delete of routesStephen Hemminger2008-07-161-27/+20
| | | | | Adding a route that already exists, or deleting a route that is already gone, should not be an error.
* Revert "Only announce connected routes if link is detected"Stephen Hemminger2008-07-161-1/+1
| | | | | | Want to remember connected routes even if they aren't active at the current time. This reverts commit 84cc940a9b74d5a867a5598f4b0f6c657eb61c9c.
* Update RIB/FIB on recursive route state changesStephen Hemminger2008-07-151-37/+50
| | | | | | | | 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 some trivial functions on interfaces inlineStephen Hemminger2008-07-112-66/+59
| | | | | Make the trivial boolean functions inline to help performance and code size.
* Fix compiler warnings from incorrect format stringsStephen Hemminger2008-07-116-8/+10
| | | | | Mostly from incorrect usage of z option. Need to use: printf(" size = %zd", x->size);
* Fix Bug 3435 Protocol MIBs are not supported on upgraded systemMohit Mehta2008-06-251-0/+15
| | | | | - added code in vyatta-quagga.postinst to write smux values into repesctive routing daemon config files if not written till then
* Merge branch 'hollywood' of suva.vyatta.com:/git/vyatta-quagga into hollywoodStephen Hemminger2008-07-091-0/+19
|\
| * Merge branch 'hollywood' of git:/git/vyatta-quagga into hollywoodMark O'Brien2008-07-096-25/+67
| |\
| * | 3.1.1vyatta/3.1.1debian/0.99.9-11Mark O'Brien2008-06-281-0/+19
| | |
* | | Rescan for next hops after static route changeStephen Hemminger2008-07-091-0/+9
| |/ |/| | | | | | | Bugfix 3433, 3434 Need to rescan for recursive routes after any change to static route.
* | Set IPv4 TOS value for BGPStephen Hemminger2008-07-083-0/+29
| | | | | | | | | | Bugfix 2847 Set TOS to internet control for BGP traffic
* | active static route changes for ipv6Stephen Hemminger2008-07-071-11/+17
| | | | | | | | | | This is the IPV6 analog to earlier changes to IPV4 static route management.
* | Fix whitespace in config fileStephen Hemminger2008-07-071-1/+1
| | | | | | | | | | The shell here document only strips tabs not spaces, so the config file ended up with messy entry
* | Correctly identify/manage all connected static routesStephen Hemminger2008-07-051-10/+17
| | | | | | | | | | | | | | Need to handle all the different flavors of connected routes in linkstate management Bugfix: 2904, 3416
* | Make some rib data structures privateStephen Hemminger2008-07-051-2/+2
| | | | | | | | | | The route_info table can be static const, and the vrf_table can be static.
* | Only announce connected routes if link is detectedStephen Hemminger2008-07-051-1/+1
|/ | | | | Need to check both IFF_UP and IFF_RUNNING if link-detect is enabled, before announcing routes.
* Revert "Backout all changes related to using kernel for linkdetect"Stephen Hemminger2008-06-207-3/+167
| | | | | This reverts commit a182091782d22218942466b062c5ef2406853491. More changes that should NOT go into hollywood
* Revert "Use if_flags_update"Stephen Hemminger2008-06-201-1/+15
| | | | | This reverts commit 17cf20dabb137205497d81f7c55efa45a4e50748. Stuff for next release snuck into hollywood branch
* Use if_flags_updateStephen Hemminger2008-06-201-15/+1
|
* Backout all changes related to using kernel for linkdetectStephen Hemminger2008-06-207-167/+3
| | | | | | | | 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"
* Merge branch 'hollywood' of suva.vyatta.com:/git/vyatta-quagga into hollywoodStephen Hemminger2008-06-192-1/+100
|\
| * Merge branch 'hollywood' of suva.vyatta.com:/git/vyatta-quagga into hollywoodStephen Hemminger2008-06-181-0/+98
| |\
| | * 3.1.0vyatta/3.1.0debian/0.99.9-10Mark O'Brien2008-06-171-0/+98
| | |
| * | Fix double free of bgp_tableStephen Hemminger2008-06-162-2/+7
| |/ | | | | | | | | If route server client is being used, then peer->rib entry would get freed twice.
* | Merge branch 'hollywood' of suva.vyatta.com:/git/vyatta-quagga into hollywoodStephen Hemminger2008-06-133-4/+6
|\|
| * Workaround for package rename vs pam problemStephen Hemminger2008-06-052-1/+1
| | | | | | | | | | | | 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.
| * Fix vtysh authorizationStephen Hemminger2008-06-042-6/+5
| | | | | | | | | | | | 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.
| * Merge branch 'hollywood' of suva.vyatta.com:/git/vyatta-quagga into hollywoodStephen Hemminger2008-05-2936-107/+193
| |\
| * | Allow any user in quagga group to run vtyshStephen Hemminger2008-05-291-1/+4
| | | | | | | | | | | | Fix the PAM setup file.
* | | Check for node being freed twiceStephen Hemminger2008-06-131-0/+1
| | |
* | | Fix double free in bgp when using route clientStephen Hemminger2008-06-131-1/+5
| |/ |/| | | | | | | | | Bugfix: 3160 Null pointers that in peer tables after free to prevent problems with double free.
* | netlink interface minor stuffStephen Hemminger2008-05-283-23/+20
| | | | | | | | Add more prototypes and make some functions static
* | get rid of duplicate includesStephen Hemminger2008-05-281-3/+0
| | | | | | | | included same file twice
* | fix compiler warningsStephen Hemminger2008-05-285-5/+7
| | | | | | | | | | Fix easy compiler warnings about unused code by marking them with #if 0 Add one missing printf argument.
* | only process some isisd filesStephen Hemminger2008-05-281-1/+3
| | | | | | | | | | | | | | 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.
* | get rid of compiler warnings in OSPFStephen Hemminger2008-05-2812-13/+32
| | | | | | | | | | | | To get rid of warnings: * remove unused functions with ifdef * use correct printf formats
* | ifdef out dead codeStephen Hemminger2008-05-281-0/+2
| | | | | | | | ifdef out some unused functions to get rid of warnings.
* | fix warning from type mismatchStephen Hemminger2008-05-281-1/+1
| | | | | | | | size is size_t not int.
* | ifdef out dead codeStephen Hemminger2008-05-281-0/+2
| | | | | | | | Excise dead code to remove compiler warning
* | flag field printf formatting in debug stringsStephen Hemminger2008-05-282-14/+22
| | | | | | | | | | | | | | 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.
* | comment out unused codeStephen Hemminger2008-05-281-0/+2
| | | | | | | | remove unused code, compiler flags this as unused
* | Fix compiler warningsStephen Hemminger2008-05-284-5/+14
| | | | | | | | | | | | | | | | To eliminate compiler warnings * comment out unused code * fix printf formats * remove always true expression * initialize variables
* | get rid of compiler warningsStephen Hemminger2008-05-281-29/+29
| | | | | | | | | | | | | | | | | | 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
* | Handle empty auth string properlyStephen Hemminger2008-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Add ipv6 link detect hooksStephen Hemminger2008-05-284-4/+44
| | | | | | | | Enable ipv6 link detect in kernel if needed.
* | Change how link-detect is configured in buildStephen Hemminger2008-05-273-8/+14
|/ | | | | Rather that looking for /proc/sys/net/ipv4/conf, use --enable-linkdetect flag to configure.
* Turn on kernel link-detectStephen Hemminger2008-05-226-3/+124
| | | | | If interface has link-detect enabled, try and turn on link-detect in the kernel.
* ignore cscope and tags filesStephen Hemminger2008-05-221-1/+3
|
* Merge branch 'hollywood' of suva.vyatta.com:/git/vyatta-quagga into hollywoodStephen Hemminger2008-05-201-0/+1
|\
| * Ignore derived filesrbalocca2008-05-201-0/+1
| |