1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/emulators/hercules/files/patch-hercifc.h
Stefan Walter 6b4fb1c448 Update to 3.04.
PR:		93806
Submitted by:	Bjoern A. Zeeb <bzeeb+freebsdports@zabbadoz.net> (maintainer)
Approved by:	arved (mentor)
2006-05-13 21:49:41 +00:00

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
{