summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pimd/pim_ssmpingd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pimd/pim_ssmpingd.c b/pimd/pim_ssmpingd.c
index dadf29f53..27dbb0d6b 100644
--- a/pimd/pim_ssmpingd.c
+++ b/pimd/pim_ssmpingd.c
@@ -185,7 +185,6 @@ static int ssmpingd_socket(pim_addr addr, int port, int mttl)
ret = ssmpingd_setsockopt(fd, addr, mttl);
if (ret) {
zlog_warn("ssmpingd_setsockopt failed");
- close(fd);
return -1;
}