Skip to contentSkip to conversation

freebsd: move if_wg path to reflect new in-tree location

PATCH Applied [email protected] 2 participants 2 messages Oct 29, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 freebsd: move if_wg path to reflect new in-tree location

From: Kyle Evans <[email protected]>

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.

---
 src/ipc-freebsd.h                          | 2 +-
 src/uapi/freebsd/dev/{if_wg => wg}/if_wg.h | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename src/uapi/freebsd/dev/{if_wg => wg}/if_wg.h (100%)
src/ipc-freebsd.h +1 -1
index 2c10c10..b5be15b 100644
@@ -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
 
src/uapi/freebsd/dev/wg/if_wg.h renamed from src/uapi/freebsd/dev/if_wg/if_wg.h +0 -0
similarity index 100%
rename from src/uapi/freebsd/dev/if_wg/if_wg.h
rename to src/uapi/freebsd/dev/wg/if_wg.h
Signature · 1 line
2.36.1