]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commitdiff
ipc: freebsd: move if_wg path to reflect new in-tree location
authorKyle Evans <kevans@FreeBSD.org>
Sat, 29 Oct 2022 01:45:05 +0000 (20:45 -0500)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sat, 29 Oct 2022 01:51:47 +0000 (03:51 +0200)
When we re-added if_wg to the tree, we changed directories in dev to
strip the if_ (we don't use this prefix for other interfaces'
directories). Adjust it here as a convenience, so that when we import
wireguard-tools to FreeBSD the path will just work as-is with our usual
build.

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/ipc-freebsd.h
src/uapi/freebsd/dev/wg/if_wg.h [moved from src/uapi/freebsd/dev/if_wg/if_wg.h with 100% similarity]

index 2c10c1020feac397a3fb2d190ecb0ffd6a7de355..b5be15b82140140e852c70f18d3a04c6841a40e4 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <sys/nv.h>
 #include <sys/sockio.h>
-#include <dev/if_wg/if_wg.h>
+#include <dev/wg/if_wg.h>
 
 #define IPC_SUPPORTS_KERNEL_INTERFACE