summaryrefslogtreecommitdiff
path: root/bgpd/bgp_network.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_network.c')
-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)