From nobody Sat Oct 24 01:18:27 2026 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jBMTc0X4Kz6wqXp for ; Sat, 24 Oct 2026 01:18:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jBMTb491pz4LMk for ; Sat, 24 Oct 2026 01:18:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792804707; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6NarmL3a4WsUnbclgg5SFLDNB3YGwerKoVRIQ20lYhg=; b=wAfkt3IUn8GSA1fgZ389EjCnYbsba98quh7k3F1kuoap/LP2a9tcn31zG0EJHoE3sRTsBz I+zxtesb6qM0ZkFYs6iwO6ixubeCIVnQlrCEkp6q/v43c8JJIKqHnZOQD5t2Xgj5XIlP9H VjaJ/6UfcsFj4kZLy2K/XO8GbMl4jCYIDtYtHJwMvF5eOw4pTl9XJpLeZM84aB7uOnRiwd JVvGMjtMscCMwhYDWcLhzk4eTJzaDR0GghoSwmCfgvWm01dxtrpxO7zX/pLc1mlzwkOQSz tlMGGBgdlVamNU81Kg8Va+x4CWcvIButJ9wosv+D051hJS93wtrEgO13e8dDmg== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1792804707; b=YqF4WcP+ZpgXLV//XWyR59aCd2Dh3SsO9pgJHwqGviAaHpmu5ov/Xk6fVMjpGeFS00juVD +uFHkdMi+Rwp8atQIh6t2iwvaWfBasiy+DvvzSK0do4iCvwiZbf46PymnLv9EASgW2N7YG cpd4wBpBrPZ8OeTZ1+HF9OEu2z9SYEXWYXxOmWCi/Z13OLOyiZJh7SjIWT3SZ6Yp9pLoFk IY5EAOGzOWWdvWQ2tTYrQ6aUzbIgq+3fvdh8SXc1y1782N4Waf1aWaZRFyho4T35fg9tIU Cnbzy5obkubj6OzpOZMOncCVOQvixztoXgiwLwmgToFos5/bgqABtLJAhPcSmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792804707; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6NarmL3a4WsUnbclgg5SFLDNB3YGwerKoVRIQ20lYhg=; b=wENoCKSUv3RzYJQxV6uHQyPJ6PT+Oljn7nNtoj5J8pQiok9Jqphb5aJVFTt84SlE04AOnn oU9pJXeVOncvkVg8JybOjTrDrNIKKmwEJtXVfPMY6ryppih2XNWiptTNgSAUf+h16cuTOs rs/aMYe9oD4BH0b7jpK9Spx9XpAxEIWjtw6NL4PJsxI5JcUReRDeHQ00q9PbH79qXmPp0c 7T4mHy6n8ez6hTOsb2iXFI5xcuLBMUAoNTg/hNKQIX3tr1oNhYQm2MgV3odznBdwmi9TOT ipbGWZPLC151ArDST3xMokpZ1tOuLtJAjALf2J4BXU4jPia7bBDbXKyfRTJhcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jBMTb1RMXzw0N for ; Sat, 24 Oct 2026 01:18:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 2137a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 24 Oct 2026 01:18:27 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kyle Evans Subject: git: 4cd4fc06c2bf - stable/14 - wg: fix the LINT-NOIP build List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: Commits to the stable branches of the FreeBSD src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 4cd4fc06c2bf797aed44c320f2678102df4518b5 Auto-Submitted: auto-generated Date: Sat, 24 Oct 2026 01:18:27 +0000 Message-Id: <6adc0763.2137a.3ae4ab05@gitrepo.freebsd.org> The branch stable/14 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=4cd4fc06c2bf797aed44c320f2678102df4518b5 commit 4cd4fc06c2bf797aed44c320f2678102df4518b5 Author: Kyle Evans AuthorDate: 2026-10-20 14:34:03 +0000 Commit: Kyle Evans CommitDate: 2026-10-23 02:56:54 +0000 wg: fix the LINT-NOIP build We don't have anything to tunnel without INET or INET6, so just smack it with the same config(5) hammer that ovpn uses and exclude it from such builds. Reported by: mjg Reviewed by: emaste, markj (cherry picked from commit 8430de47aa7c004e1330b8f6a3018c360425606e) --- sys/conf/files | 8 ++++---- sys/dev/wg/if_wg.c | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sys/conf/files b/sys/conf/files index b5270cf286ce..2bbcedcb09a1 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -3443,13 +3443,13 @@ dev/vt/vt_font.c optional vt dev/vt/vt_sysmouse.c optional vt dev/vte/if_vte.c optional vte pci dev/watchdog/watchdog.c standard -dev/wg/if_wg.c optional wg \ +dev/wg/if_wg.c optional wg inet | wg inet6 \ compile-with "${NORMAL_C} -include $S/dev/wg/compat.h" -dev/wg/wg_cookie.c optional wg \ +dev/wg/wg_cookie.c optional wg inet | wg inet6 \ compile-with "${NORMAL_C} -include $S/dev/wg/compat.h" -dev/wg/wg_crypto.c optional wg \ +dev/wg/wg_crypto.c optional wg inet | wg inet6 \ compile-with "${NORMAL_C} -include $S/dev/wg/compat.h" -dev/wg/wg_noise.c optional wg \ +dev/wg/wg_noise.c optional wg inet | wg inet6 \ compile-with "${NORMAL_C} -include $S/dev/wg/compat.h" dev/wpi/if_wpi.c optional wpi pci wpifw.c optional wpifw \ diff --git a/sys/dev/wg/if_wg.c b/sys/dev/wg/if_wg.c index 75af5e279669..73846c7db234 100644 --- a/sys/dev/wg/if_wg.c +++ b/sys/dev/wg/if_wg.c @@ -532,12 +532,10 @@ wg_peer_get_endpoint(struct wg_peer *peer, struct wg_endpoint *e) static int wg_aip_addrinfo(struct wg_aip *aip, const void *baddr, uint8_t cidr) { -#if defined(INET) || defined(INET6) struct aip_addr *addr, *mask; addr = &aip->a_addr; mask = &aip->a_mask; -#endif switch (aip->a_af) { #ifdef INET case AF_INET: