summaryrefslogtreecommitdiff
path: root/zebra/rtadv.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/rtadv.c')
-rw-r--r--zebra/rtadv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index 295975c5ca..88836af72e 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -630,7 +630,6 @@ static int rtadv_make_socket(void)
safe_strerror(errno));
if (sock < 0) {
- close(sock);
return -1;
}