Date: Wed, 19 Jun 2024 22:33:17 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 279850] wireguard: wg(8) fails on INET6-only kernel Message-ID: <bug-279850-7501-iEduPrnZd6@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279850-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-279850-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279850 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 =3D -1; if (sock < 0) - sock =3D socket(AF_INET, SOCK_DGRAM, 0); + sock =3D socket(AF_LOCAL, SOCK_DGRAM, 0); return sock; } --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279850-7501-iEduPrnZd6>