Skip to content

Commit

Permalink
Merge pull request #14476 from anlancs/fix/pimd-remove-fd-close
Browse files Browse the repository at this point in the history
pimd: remove redundant closing socket
  • Loading branch information
donaldsharp authored Sep 23, 2023
2 parents e0b37a2 + 411e16a commit 9d9c6dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pimd/pim_ssmpingd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9d9c6dc

Please sign in to comment.