[Bug 279850] wireguard: wg(8) fails on INET6-only kernel
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Jun 2024 22:33:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279850
Kyle Evans <kevans@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kevans@freebsd.org
--- Comment #1 from Kyle Evans <kevans@freebsd.org> ---
How does this feel?
diff --git a/contrib/wireguard-tools/ipc-freebsd.h
b/contrib/wireguard-tools/ipc-freebsd.h
index fa74edda5a3d..446f13cacac2 100644
--- a/contrib/wireguard-tools/ipc-freebsd.h
+++ b/contrib/wireguard-tools/ipc-freebsd.h
@@ -15,7 +15,7 @@ static int get_dgram_socket(void)
{
static int sock = -1;
if (sock < 0)
- sock = socket(AF_INET, SOCK_DGRAM, 0);
+ sock = socket(AF_LOCAL, SOCK_DGRAM, 0);
return sock;
}
--
You are receiving this mail because:
You are the assignee for the bug.