aboutgitcodebugslistschat
path: root/util.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-07-13 05:05:28 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-07-14 01:36:05 +0200
commitf3198c4a06494846597df66ca73d053c977fefc8 (patch)
treea9236f0d47d1ec9417ae94e31a0ce1c580693788 /util.c
parent1d223e4b4c3b625383ceb368deb8d01e755a585f (diff)
downloadpasst-f3198c4a06494846597df66ca73d053c977fefc8.tar
passt-f3198c4a06494846597df66ca73d053c977fefc8.tar.gz
passt-f3198c4a06494846597df66ca73d053c977fefc8.tar.bz2
passt-f3198c4a06494846597df66ca73d053c977fefc8.tar.lz
passt-f3198c4a06494846597df66ca73d053c977fefc8.tar.xz
passt-f3198c4a06494846597df66ca73d053c977fefc8.tar.zst
passt-f3198c4a06494846597df66ca73d053c977fefc8.zip
util: Fix debug print on failed SO_REUSEADDR setting in sock_l4()
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 98946e4..2eea0ef 100644
--- a/util.c
+++ b/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