diff options
author | paul <paul> | 2005-06-28 12:44:16 +0000 |
---|---|---|
committer | paul <paul> | 2005-06-28 12:44:16 +0000 |
commit | 94f2b3923e9663d0355a829f22e4e31cf68ee7b8 (patch) | |
tree | 59c0291a76b1c97fbb089abb479307f19cdfd4c1 /bgpd/bgp_network.c | |
parent | 7cad40007b9714dba65065916ea68577f9d3d6dd (diff) | |
download | quagga-94f2b3923e9663d0355a829f22e4e31cf68ee7b8.tar.bz2 quagga-94f2b3923e9663d0355a829f22e4e31cf68ee7b8.tar.xz |
2005-06-28 Paul Jakma <paul.jakma@sun.com>
* (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.
Diffstat (limited to 'bgpd/bgp_network.c')
-rw-r--r-- | bgpd/bgp_network.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgp_network.c b/bgpd/bgp_network.c index fb6b64df..61661c0d 100644 --- a/bgpd/bgp_network.c +++ b/bgpd/bgp_network.c @@ -121,7 +121,7 @@ bgp_accept (struct thread *thread) } /* BGP socket bind. */ -int +static int bgp_bind (struct peer *peer) { #ifdef SO_BINDTODEVICE @@ -151,7 +151,7 @@ bgp_bind (struct peer *peer) return 0; } -int +static int bgp_bind_address (int sock, struct in_addr *addr) { int ret; @@ -177,7 +177,7 @@ bgp_bind_address (int sock, struct in_addr *addr) return 0; } -struct in_addr * +static struct in_addr * bgp_update_address (struct interface *ifp) { struct prefix_ipv4 *p; @@ -195,7 +195,7 @@ bgp_update_address (struct interface *ifp) } /* Update source selection. */ -void +static void bgp_update_source (struct peer *peer) { struct interface *ifp; |