summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso>2004-02-12 15:41:38 +0000
committerhasso <hasso>2004-02-12 15:41:38 +0000
commit4a1a2716632c29f05fce8324e4c41bc67cde18c6 (patch)
tree081c68c60b00c55fba703ddc1f56c2c440d126dc
parent55906724d8d460b16f11c2fe05eeb799325f97ba (diff)
Trivial fix from Bernd Leibing <bernd.leibing@kiz.uni-ulm.de>
[quagga-dev 879].
-rw-r--r--bgpd/bgp_network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_network.c b/bgpd/bgp_network.c
index 1590b99f..aa369bc1 100644
--- a/bgpd/bgp_network.c
+++ b/bgpd/bgp_network.c
@@ -357,7 +357,7 @@ bgp_socket (struct bgp *bgp, unsigned short port)
int sock;
int socklen;
struct sockaddr_in sin;
- int ret;
+ int ret, en;
sock = socket (AF_INET, SOCK_STREAM, 0);
if (sock < 0)