diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2022-10-28 20:45:05 -0500 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-10-29 03:51:47 +0200 |
commit | 7b2ae7aa2f52fbac65874a641cbfbb0182d0ba46 (patch) | |
tree | cbc00493180a4b7dbc95b2b49afc196287f718cf | |
parent | wg-quick: linux: prevent traffic from momentarily leaking into tunnel (diff) | |
download | wireguard-tools-7b2ae7aa2f52fbac65874a641cbfbb0182d0ba46.tar.xz wireguard-tools-7b2ae7aa2f52fbac65874a641cbfbb0182d0ba46.zip |
ipc: freebsd: move if_wg path to reflect new in-tree location
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>
-rw-r--r-- | src/ipc-freebsd.h | 2 | ||||
-rw-r--r-- | src/uapi/freebsd/dev/wg/if_wg.h (renamed from src/uapi/freebsd/dev/if_wg/if_wg.h) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc-freebsd.h b/src/ipc-freebsd.h index 2c10c10..b5be15b 100644 --- a/src/ipc-freebsd.h +++ b/src/ipc-freebsd.h @@ -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 diff --git a/src/uapi/freebsd/dev/if_wg/if_wg.h b/src/uapi/freebsd/dev/wg/if_wg.h index a4b3b13..a4b3b13 100644 --- a/src/uapi/freebsd/dev/if_wg/if_wg.h +++ b/src/uapi/freebsd/dev/wg/if_wg.h |