summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | ospfd: remove unused macroDenis Ovsienko2011-09-251-4/+0
| | | |
| | * | doc: fix typoRoman Hoog Antink2011-09-251-1/+1
| | | |
| | * | isisd: raise hello rate for DIS (BZ#539)Fritz Reichmann2011-09-251-2/+24
| | | | | | | | | | | | | | | | | | | | * isis_pdu.c: Divide hello interval by three, depending if we are DIS or not.
| | * | isisd: fix crash on "no router isis" (BZ#536)Fritz Reichmann2011-09-256-3/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The crash is due to threads accessing data that gets destroyed during the removal of the configuration. * isis_circuit.c: Destroy adjacencies to stop adjacency expiry thread. Stop PSNP threads. * isisd.c: Change state of circuit back to INIT and reassign the circuit structure to isis->init_circ_list rather than destroying the circuit data structure. Stop SPF threads. Stop LSP generation threads. * isisd.h: Add pointers to LSP threads into area structure in order to stop them in isisd.c * isis_lsp.c: Store pointer to LSP thread in area structure. * isis_pdu.c: Stop PDU generation for a circuit with a removed area. * isis_pfpacket.c: Stop processing received PDUs for a circuit with a removed area.
| | * | ospf6d: Fix memory allocation issues in SPFTom Goff2011-09-252-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ospf6_area.c: Call ospf6_spf_table_finish() before deleting the spf table. This ensures that the associated ospf6_vertex structures are also freed. * ospf6_spf.c: Only allocate a priority queue when a spf calculation is actually performed.
| | * | ospf6d: Extend the "[no] debug ospf6 route" vty commandsTom Goff2011-09-251-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | * ospf6_route.c ([no_]debug_ospf6_route) Include memory as a debug option. This allows ospf6 route memory debugging to be enabled or disabled interactively or from a config file.
| | * | isisd: include hash.h, not hash.cPeter Szilagyi2011-09-251-1/+1
| | | |
| | * | configure: dismiss libutil.hStephen Hemminger2011-09-252-5/+1
| | | | | | | | | | | | | | | | | | | | Recent versions of libc on Linux (Debian Testing) create lots of compile warnings about direct usage of libutil.h
| | * | doc: add missing wordAlexandre Chappuis2011-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | * ospfd.texi: Adjust meaning of the rfc1583compatibility option in order to match the RFC specification and the actual source code.
| | * | ospf6d: add lost lines to area config blockJon Andersson2011-09-251-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | * ospf6_area.c * ospf6_area_config_write(): write filter-list, import-list and export-list lines
| | * | bgpd: fix parsing of graceful restart cap. (#663)Peter Pentchev2011-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "While setting up a testbed, I ran across a little problem in the parsing of the "graceful restart" BGP capability that resulted in Quagga not actually activating it for the peer in question - when the peer sent a single AFI/SAFI block." * bgp_open.c * bgp_capability_restart(): actually process the last AFI/SAFI block
| | * | ospf6d: fix crash on filter-list handling (BZ#530)Christian Hammers2011-09-251-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This essentially merges the fix available from Debian build of Quagga. * ospf6_area.c * area_filter_list(): use correct argv indices * no_area_filter_list(): idem
| | * | bgpd: add useful notification logs (BZ#616)heasley2011-09-251-3/+16
| | | | | | | | | | | | | | | | | | | | * bgp_packet.c * bgp_notify_send_with_data(): add calls to zlog_info()
| | * | doc: BGP route-flap dampeningAlexandre Chappuis2011-09-251-0/+30
| | | |
| | * | zebra: fix loss of metric for Linux routesDmitry Popov2011-09-251-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | * rt_netlink.c * netlink_route_change(): fetch metric information like netlink_routing_table() does and pass it further
| | * | ospfd: spellingDenis Ovsienko2011-09-101-1/+1
| | | |
| | * | bgpd: spellingDenis Ovsienko2011-09-101-1/+1
| | | |
| | * | bgpd: spellingDenis Ovsienko2011-09-101-1/+1
| | | |
| | * | ospfd: use existing macro for consistencyDenis Ovsienko2011-09-101-2/+2
| | | |
| | * | version RE-0.99.17.3RE-0.99.17.3Denis Ovsienko2011-09-071-1/+1
| | | |
| | * | ospfd: revert recent PIE change to fix amd64 buildDenis Ovsienko2011-09-071-3/+0
| | | | | | | | | | | | | | | | This reverts commit 68575f4babf4d6fc302c366898a1047f13629214.
| | * | version RE-0.99.17.2RE-0.99.17.2Denis Ovsienko2011-09-071-1/+1
| | | |
| | * | build: build ospfd as Position-Independed Executable (if appropriate)Dmitrij Tejblum2011-09-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Since 46bc0e432e75, all the binaries are built as Position-Independed Executables (if available and enabled). ospfd was missed for some unknown reason.
| | * | ospfd: address more trivial compiler warningsDenis Ovsienko2011-08-281-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | * ospf_ase.c * ospf_ase_complete_direct_routes(): dismiss unused variable * ospf_ase_calculate_route(): put assignments into parentheses
| | * | zebra: add missing includesDenis Ovsienko2011-08-282-0/+5
| | | |
| | * | ospf6d: address more trivial compiler warningsDenis Ovsienko2011-08-273-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * ospf6_main.c: include required headers * ospf6_asbr.h: idem * ospf6_spf.c * ospf6_spf_install(): remove unused variables
| | * | ospfd: sizing macros cleanupDenis Ovsienko2011-08-232-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | * ospf_spf.c * ROUTER_LSA_TOS_SIZE: prepend OSPF_ and move to ospf_lsa.h * ROUTER_LSA_MIN_SIZE: replace with existing OSPF_ROUTER_LSA_LINK_SIZE
| | * | lib: use "protocol-independed API" from RFC3678, if that is availableDmitrij Tejblum2011-08-222-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (This commit is based on the patch from BZ#420, and should fix that bug.) * configure.ac: detect availability of that API * sockopt.c (setsockopt_ipv4_multicast): use it for join/leave IPv4 multicast groups
| | * | lib: futher simplification of setsockopt_ipv4_multicast()Dmitrij Tejblum2011-08-221-64/+44
| | | | | | | | | | | | | | | | | | | | * sockopt.c (setsockopt_ipv4_multicast): check for wrong optname with assert(), rather than return an error.
| | * | ospf6d: add missing includeDenis Ovsienko2011-08-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Two extern declarations in ospf6_abr.h are based on struct ospf6_route, which may not be available at the time ospf6_abr.h is included. This may lead to warnings after including ospf6_abr.h just for the structures defined in it.
| | * | ospf6d: ospf6_lsa_cmd_init() does not existDenis Ovsienko2011-08-201-1/+0
| | | |
| | * | ospf6d: move named constants to ospf6d.hDenis Ovsienko2011-08-202-2/+3
| | | |
| | * | lib: fix omission in the previous commit to lib/sockopt.cDmitrij Tejblum2011-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | * sockopt.c (setsockopt_ipv4_multicast_if): fix missed line in the previous commit.
| | * | ospf6d: justify some ABR debug codeDenis Ovsienko2011-08-191-2/+4
| | | | | | | | | | | | | | | | | | | | * ospf6_abr.c * ospf6_abr_examin_summary(): only fill "buf" when it is used
| | * | lib: simplify interface of setsockopt_multicast_ipv4().Dmitrij Tejblum2011-08-194-60/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sockopt.[ch] (setsockopt_ipv4_multicast): ifindex is now mandatory (all non-ancient OSes can use it anyway), and if_addr parameter (the address of the interface) is now gone. (setsockopt_ipv4_multicast_if): IP_MULTICAST_IF processing moved to this new function * ospf_network.c (ospf_if_add_allspfrouters, ospf_if_drop_allspfrouters, ospf_if_add_alldrouters, ospf_if_drop_alldrouters, ospf_if_ipmulticast), rip_interface.c (ipv4_multicast_join, ipv4_multicast_leave, rip_interface_new): adapt to the new interface
| | * | ospf6d: spellingDenis Ovsienko2011-08-192-12/+12
| | | |
| | * | bgpd: improve "show ip bgp scan detail"Denis Ovsienko2011-08-091-2/+22
| | | | | | | | | | | | | | | | | | | | * bgp_nexthop.c (show_ip_bgp_scan_tables): access proper structure field in AF_INET6 case, handle ifindex NH type properly
| | * | bgpd: dismiss some zlookup checksDenis Ovsienko2011-08-081-32/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bgp_nexthop_onlink(): zlookup is not used here at all bgp_nexthop_lookup_ipv6(): rely on the detection performed by "query" function (this also changes the fallback value to 0), reorder if-block bgp_nexthop_lookup(): idem
| | * | bgpd: add "show ip bgp scan detail" commandDenis Ovsienko2011-08-051-15/+44
| | | | | | | | | | | | | | | | | | | | | | | | * bgp_nexthop.c: (show_ip_bgp_scan) transform into show_ip_bgp_scan_tables(), which uses inet_ntop() and can dump nexthops on request; (show_ip_bgp_scan_detail_cmd) new function
| | * | bgpd: touch nexthop handling codeDenis Ovsienko2011-08-053-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bgp_nexthop_lookup_ipv6(): declare variables where they are actually used, drop no-op initialization (the field is already 0) bgp_nexthop_lookup(): ditto bgp_nexthop_check_ebgp(): rename to bgp_nexthop_onlink() bgp_nexthop_cache_changed(): rename to bgp_nexthop_cache_different()
| | * | bgpd: use XCALLOC to allocate bgpd damp arrayStephen Hemminger2011-08-031-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * bgpd: (bgp_damp_parameter_set) The BGP reuse_index is not initialized properly. This would cause sporadic crash when disabling dampening. Use XCALLOC correctly and the right size array is initialized and no memset is needed.
| | * | lib: fix more format warnings (#637)Christian Hammers2011-08-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patch was also neccessary to compile. * command.c: (config_logmsg_cmd) use "%s" format spec * if.c: (connected_log) ditto
| | * | ospfd: remove useless RFC1583 checkAlexandre Chappuis2011-08-021-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ospf_route.c: Function ospf_asbr_route_cmp is called uniquely from ospf_route_cmp() when the flag OSPF_RFC1583_COMPATIBLE is not set. Therefore, the check that the flag is set doesn't make sense at all and it can consequently be removed without doing any harm. Signed-off-by: Alexandre Chappuis <alc@open.ch> Signed-off-by: Roman Hoog Antink <rha@open.ch>
| | * | lib: remove unused variableDenis Ovsienko2011-08-011-3/+1
| | | | | | | | | | | | | | | | * sockopt.c (getsockopt_ifindex): "ifindex" was never used
| | * | delete CVS keywordsDenis Ovsienko2011-08-0112-23/+0
| | | |
| | * | ospf6d: Remove obsolete codeTom Goff2011-08-011-5/+0
| | | | | | | | | | | | | | | | | | | | * ospf6_area.c: (ospf6_area_delete) Get rid of unused code that refers to a nonexistent function and structure member.
| | * | lib: zlog should clean up its memoryTom Goff2011-08-011-0/+3
| | | | | | | | | | | | | | | | | | | | * log.c: (closezlog) Also free the dynamically allocated filename when a log is closed.
| | * | bgpd: Fix display of unsigned attributesWataru Tanitsu2011-08-011-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | * bgp_route.c: (route_vty_out*) The local prefix, metric and weight values are all stored as uint32_t. Change the format to %u so that large values are not displayed as negative integers.
| | * | ospfd: Lower level of some common messages from info to debugPaul Jakma2011-08-012-11/+11
| | | | | | | | | | | | | | | | | | | | * ospf_{ism,network}.c: Certain oft-repeated but trivial messages should be debug log level, not info, to avoid spamming 'terminal monitor'
| | * | lib: prefix.c nano-optimisationPaul Jakma2011-08-011-4/+5
| | | | | | | | | | | | | | | | | | | | * lib/prefix.c: (prefix_match) nano-optimisation, let it return early without copying pointers.