diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-07-13 05:05:28 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-07-14 01:36:05 +0200 |
commit | f3198c4a06494846597df66ca73d053c977fefc8 (patch) | |
tree | a9236f0d47d1ec9417ae94e31a0ce1c580693788 /util.c | |
parent | 1d223e4b4c3b625383ceb368deb8d01e755a585f (diff) | |
download | passt-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |