summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-01-21 11:50:37 +0000
committerChris Hall <GMCH@hestia.halldom.com>2010-01-21 11:50:37 +0000
commit11e2451d43976e39503c7cc571d6acd7a3a4bd2a (patch)
tree8ee5c5369ff49c67ff0916acd6b5651aff1a36c8
parentfbb4aa3b5cec338b5fb0908d16a4d73f6c8dd7c5 (diff)
downloadquagga-11e2451d43976e39503c7cc571d6acd7a3a4bd2a.tar.bz2
quagga-11e2451d43976e39503c7cc571d6acd7a3a4bd2a.tar.xz
close(fd) in bgp_connection_close()
-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)