The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=d1ac3e245f084ee0637bde9a446687621358c418
commit d1ac3e245f084ee0637bde9a446687621358c418 Author: Kristof Provost <k...@freebsd.org> AuthorDate: 2025-06-30 09:53:02 +0000 Commit: Kristof Provost <k...@freebsd.org> CommitDate: 2025-06-30 09:53:02 +0000 wg: fix LINT-NOIP build Fixes: d15d610fac97df4fefed3f14b31dcfbdcec65bf9 Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/wg/if_wg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/wg/if_wg.c b/sys/dev/wg/if_wg.c index 6ad3c44dc8ff..17aedee0e6b0 100644 --- a/sys/dev/wg/if_wg.c +++ b/sys/dev/wg/if_wg.c @@ -532,10 +532,12 @@ 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: