mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
6b4fb1c448
PR: 93806 Submitted by: Bjoern A. Zeeb <bzeeb+freebsdports@zabbadoz.net> (maintainer) Approved by: arved (mentor)
15 lines
459 B
C
15 lines
459 B
C
--- hercifc.h.orig Fri Feb 24 18:36:35 2006
|
|
+++ hercifc.h Fri Feb 24 18:39:41 2006
|
|
@@ -77,7 +77,11 @@
|
|
// --------------------------------------------------------------------
|
|
|
|
#define HERCIFC_CMD "hercifc" // Interface config command
|
|
+#if defined(__FreeBSD__)
|
|
+#define HERCTUN_DEV "/dev/tun" // Default TUN control dev
|
|
+#else
|
|
#define HERCTUN_DEV "/dev/net/tun" // Default TUN/TAP char dev
|
|
+#endif
|
|
|
|
typedef struct _CTLREQ
|
|
{
|