summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_connection.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bgpd/bgp_connection.c b/bgpd/bgp_connection.c
index fb5f3553..8ceb9db6 100644
--- a/bgpd/bgp_connection.c
+++ b/bgpd/bgp_connection.c
@@ -564,11 +564,7 @@ bgp_connection_close(bgp_connection connection, int unset_timers)
fd = qps_file_unset_fd(&connection->qf) ;
if (fd != fd_undef)
-#if 0
close(fd) ;
-#else
- shutdown(fd, SHUT_RDWR) ;
-#endif
/* If required, unset the timers. */
if (unset_timers)