diff options
author | Donald Sharp <donaldsharp72@gmail.com> | 2023-09-24 00:43:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-24 00:43:43 +0200 |
commit | 9d9c6dc01e0d1b97303796e1c167a060102eba10 (patch) | |
tree | 4976493c86d81e468d80cf9baffac4a6c5badfce | |
parent | Merge pull request #14475 from opensourcerouting/fix/unset_per_afi_stuff_when... (diff) | |
parent | pimd: remove redundant closing socket (diff) | |
download | frr-9d9c6dc01e0d1b97303796e1c167a060102eba10.tar.xz frr-9d9c6dc01e0d1b97303796e1c167a060102eba10.zip |
Merge pull request #14476 from anlancs/fix/pimd-remove-fd-close
pimd: remove redundant closing socket
-rw-r--r-- | pimd/pim_ssmpingd.c | 1 |
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; } |