util: Fix debug print on failed SO_REUSEADDR setting in sock_l4()
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
1d223e4b4c
commit
f3198c4a06
1 changed files with 1 additions and 1 deletions
2
util.c
2
util.c
|
@ -293,7 +293,7 @@ int sock_l4(const struct ctx *c, int af, uint8_t proto,
|
|||
}
|
||||
|
||||
if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &y, sizeof(y)))
|
||||
debug("Failed to set IPV6_V6ONLY on socket %i", fd);
|
||||
debug("Failed to set SO_REUSEADDR on socket %i", fd);
|
||||
|
||||
if (bind(fd, sa, sl) < 0) {
|
||||
/* We'll fail to bind to low ports if we don't have enough
|
||||
|
|
Loading…
Reference in a new issue