Page MenuHomeFreeBSD

D60896.1795169789.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D60896.1795169789.diff

diff --git a/sys/conf/files b/sys/conf/files
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -3600,13 +3600,13 @@
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
--- a/sys/dev/wg/if_wg.c
+++ b/sys/dev/wg/if_wg.c
@@ -533,12 +533,10 @@
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:

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 20, 10:16 AM (7 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41865559
Default Alt Text
D60896.1795169789.diff (1 KB)

Event Timeline