summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_clist.c
Commit message (Collapse)AuthorAgeFilesLines
* BGP: create listener when first instance createdStephen Hemminger2009-07-211-2/+0
| | | | | | | | | This changes BGP so the listener sockets are not set up until the first BGP instance is configured. This keeps the port closed unless needed. It also fixes some other things: * MD5 listener was not being setup unless IPV6 configured * No compiler warnings * common setup code for IPV6 and non-IPV6 compiles
* Merge Quagga 0.99.14 (upstream) into kenwoodStephen Hemminger2009-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Grand unified Quagga Conflicts: bgpd/bgp_aspath.c bgpd/bgp_damp.c bgpd/bgp_damp.h bgpd/bgp_main.c bgpd/bgp_packet.c bgpd/bgp_route.c bgpd/bgpd.c configure.ac doc/zebra.8 lib/command.c lib/smux.c lib/workqueue.c ospfd/ospf_snmp.c ospfd/ospfd.c zebra/main.c zebra/rt_netlink.c zebra/zebra_rib.c
* Merge branch 'vyatta-update' of /home/shemminger/src/quagga into jennerStephen Hemminger2009-02-091-2/+2
|\
| * bgp: change () to (void)Stephen Hemminger2009-02-091-2/+2
| | | | | | | | | | Use Ansi-C prototypes rather than old K&R method of declaring function without arguments
| * [compiler] miscellaneous trivial compiler warning fixespaul2006-01-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-19 Paul Jakma <paul.jakma@sun.com> * (general) various miscellaneous compiler warning fixes. Remove redundant break statements from switch clauses which return. return from main, not exit, cause it annoys SOS. Remove stray semi-colons which cause empty-statement warnings. * zebra/main.c: (sighup) remove private declaration of external function.
| * 2005-06-28 Paul Jakma <paul.jakma@sun.com>paul2005-06-281-11/+11
| | | | | | | | | | | | | | | | | | | | * (global) The great bgpd extern and static'ification. * bgp_routemap.c: remove unused ROUTE_MATCH_ASPATH_OLD code (route_set_metric_compile) fix u_int32_t to ULONG_MAX comparison warnings. * bgp_route.h: (bgp_process, bgp_withdraw, bgp_update) export these used by various files which had their own private declarations, in the case of mplsvpn - incorrect.
| * * bgp_clist.[ch], bgp_route.c, bgp_routemap.c, bgp_vty.c:hasso2005-02-021-215/+108
| | | | | | | | | | | | community-list cleanup. [merge from GNU Zebra]
| * 2004-10-13 Paul Jakma <paul@dishone.st>paul2004-10-131-12/+16
| | | | | | | | | | | | | | | | | | | | | | * (global) more const'ification and fixups of types to clean up code. * bgp_mplsvpn.{c,h}: (str2tag) fix abuse. Still not perfect, should use something like the VTY_GET_INTEGER macro, but without the vty_out bits.. * bgp_routemap.c: (set_aggregator_as) use VTY_GET_INTEGER_RANGE (no_set_aggregator_as) ditto. * bgpd.c: (peer_uptime) fix unlikely bug, where no buffer is returned, add comments about troublesome return value.
| * 2003-06-09 Paul Jakma <paul@dishone.st>paul2003-06-091-10/+21
| | | | | | | | * bgp_clist.c (community_list_delete): honour deny statements
| * 2003-06-07 Paul Jakma <paul@dishone.st>paul2003-06-071-256/+303
| | | | | | | | | | * (bgp_clist.c): Run it through indent -nut (all indentation to be spaced, get rid of mix of tabs and spaces)
| * Initial revisionpaul2002-12-131-0/+905
|
* Use XCALLOCStephen Hemminger2008-08-181-10/+2
| | | | Replace calls to XMALLOC followed by memset with XCALLOC.
* fix compiler warningsStephen Hemminger2008-05-281-0/+2
| | | | | Fix easy compiler warnings about unused code by marking them with #if 0 Add one missing printf argument.
* [compiler] miscellaneous trivial compiler warning fixespaul2006-01-191-1/+0
| | | | | | | | | | | | | 2006-01-19 Paul Jakma <paul.jakma@sun.com> * (general) various miscellaneous compiler warning fixes. Remove redundant break statements from switch clauses which return. return from main, not exit, cause it annoys SOS. Remove stray semi-colons which cause empty-statement warnings. * zebra/main.c: (sighup) remove private declaration of external function.
* 2005-06-28 Paul Jakma <paul.jakma@sun.com>paul2005-06-281-11/+11
| | | | | | | | | | * (global) The great bgpd extern and static'ification. * bgp_routemap.c: remove unused ROUTE_MATCH_ASPATH_OLD code (route_set_metric_compile) fix u_int32_t to ULONG_MAX comparison warnings. * bgp_route.h: (bgp_process, bgp_withdraw, bgp_update) export these used by various files which had their own private declarations, in the case of mplsvpn - incorrect.
* * bgp_clist.[ch], bgp_route.c, bgp_routemap.c, bgp_vty.c:hasso2005-02-021-215/+108
| | | | | | community-list cleanup. [merge from GNU Zebra]
* 2004-10-13 Paul Jakma <paul@dishone.st>paul2004-10-131-12/+16
| | | | | | | | | | | * (global) more const'ification and fixups of types to clean up code. * bgp_mplsvpn.{c,h}: (str2tag) fix abuse. Still not perfect, should use something like the VTY_GET_INTEGER macro, but without the vty_out bits.. * bgp_routemap.c: (set_aggregator_as) use VTY_GET_INTEGER_RANGE (no_set_aggregator_as) ditto. * bgpd.c: (peer_uptime) fix unlikely bug, where no buffer is returned, add comments about troublesome return value.
* 2003-06-09 Paul Jakma <paul@dishone.st>paul2003-06-091-10/+21
| | | | * bgp_clist.c (community_list_delete): honour deny statements
* 2003-06-07 Paul Jakma <paul@dishone.st>paul2003-06-071-256/+303
| | | | | * (bgp_clist.c): Run it through indent -nut (all indentation to be spaced, get rid of mix of tabs and spaces)
* Initial revisionpaul2002-12-131-0/+905