From nobody Tue Oct 20 14:34:22 2026 X-Original-To: dev-commits-src-main@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 4j8FKp3zr7z6x5F6 for ; Tue, 20 Oct 2026 14:34:22 +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 4j8FKp3DTQz3P76 for ; Tue, 20 Oct 2026 14:34:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792506862; 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=/QNF+ZNJGC80suwsBdjEL508zRJKYCUOUJfFmctTfIQ=; b=MS2xZBJ4nUFNWSHAJfpZwrGJUGA3CNSr4sw+z7H7mIoy3oubiONQkdRmMIoUkoyD/nQe/N Yto1tfHP3koITRRnFxlOq5ybKnsQwqzIag4qpu9clvlsioaFyCrhuAPSUNl550dug58Tc8 JMoEv1g+tfpiulfQL5LsVtvmKpI6jQww280LrrpykvvgcbDIMlrTvxer20nb6mOFtuP+Fy /YZJQjb+JATT9/1zSGo+dTl+mwS/Ti3RwTPsjt07v+wfV1hkmGjjf/mgPgM6t/Kdj4qLJc Hq83eH1V/kI5qvZHojdW3fEguvi+yj6etxjTdE+PJeaIJZR1VLczoghnHm1iyg== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1792506862; b=km0Cj4cvW85tvbJGCs3brLmymSDOPlkzALMhhtZOD2OuTSclfB20t8qVI3GtkWY8Une1O1 FLRCHz/1pyq4e0kbGuXJ+7pvKuJiH0O3SvSvn6VDrAUd3K58BczRx8CEN3fKgZfBhE/3LM 5XiXzaxc4E5bJpYVjpeM2BN5vvL8mqLf1NCdcfDYF8G15lfymbFRYxp4m/8WBl3vBHv/AH u8iRkTqreeAjHYReefINKVT5DR4p3+wlnrspXcm043X2sgredjqXf3sk4hNi7qz/Je+PZb +BDB0WoS5temBVnfvICHEiKR+siWaXc7tJIWHdcQPri5E1GLchhMYFNixHfRMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792506862; 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=/QNF+ZNJGC80suwsBdjEL508zRJKYCUOUJfFmctTfIQ=; b=gIGh6FQajgmebc39Qust2nI92rOHAy62ChNIFtHJcAnCDGGtfL5Btdj14Ajk7AewUejjU1 tfXxaBz505IzBbG+1SaK/qdcXdb9NFpJZUT4yew1LATk4rSZavodtaiT0i1wZCvl2CQx2O Ko8vWlJiqPNGN6kd6TNbSi3sdKr7gFzDGWzA9LqqtwZ55JEdiEB/s8mKuWUKBb5PAfJAO+ YC+/bkJULB07j+DZBAtBYlw74/n3Y/eIPwYQXmpqhhlhbtERPi4EXOWAXo2l1E7m2JGVbi 839/kv+wUusWhHRwxxJpvi5fBcIWw2eYgmzKbLWXoFXG5v5PTABF+vp3wTGfyA== 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 4j8FKp2vFdz19yp for ; Tue, 20 Oct 2026 14:34:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 413f9 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 20 Oct 2026 14:34:22 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kyle Evans Subject: git: 8430de47aa7c - main - wg: fix the LINT-NOIP build List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: Commit messages for the main branch of the 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/main X-Git-Reftype: branch X-Git-Commit: 8430de47aa7c004e1330b8f6a3018c360425606e Auto-Submitted: auto-generated Date: Tue, 20 Oct 2026 14:34:22 +0000 Message-Id: <6ad77bee.413f9.47d540c1@gitrepo.freebsd.org> The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=8430de47aa7c004e1330b8f6a3018c360425606e commit 8430de47aa7c004e1330b8f6a3018c360425606e Author: Kyle Evans AuthorDate: 2026-10-20 14:34:03 +0000 Commit: Kyle Evans CommitDate: 2026-10-20 14:34:03 +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 Differential Revision: https://reviews.freebsd.org/D60896 --- 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 2e9c6ac4f19c..d74bd0b0f648 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -3600,13 +3600,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 5877c1966512..8a3878207e27 100644 --- a/sys/dev/wg/if_wg.c +++ b/sys/dev/wg/if_wg.c @@ -533,12 +533,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: