summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-tun.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-01-01 19:47:05 +1100
committerDamien Miller <djm@mindrot.org>2006-01-01 19:47:05 +1100
commit2dcddbfaf6b68bd58b5b1422ebeef7767c0c2633 (patch)
tree8c044d00a3185cea6a500c32508df1161b048c29 /openbsd-compat/port-tun.h
parentc4bcc917519e55f449044e558228a2e11b80740c (diff)
- (djm) [Makefile.in configure.ac includes.h misc.c]
[openbsd-compat/port-tun.c openbsd-compat/port-tun.h] Add support for tunnel forwarding for FreeBSD and NetBSD. NetBSD's support is limited to IPv4 tunnels only, and most versions don't support the tap(4) device at all.
Diffstat (limited to 'openbsd-compat/port-tun.h')
-rw-r--r--openbsd-compat/port-tun.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/port-tun.h b/openbsd-compat/port-tun.h
index 942610c6d..86d9272b4 100644
--- a/openbsd-compat/port-tun.h
+++ b/openbsd-compat/port-tun.h
@@ -19,7 +19,7 @@
19 19
20#include "channels.h" 20#include "channels.h"
21 21
22#if defined(SSH_TUN_LINUX) 22#if defined(SSH_TUN_LINUX) || defined(SSH_TUN_FREEBSD)
23# define CUSTOM_SYS_TUN_OPEN 23# define CUSTOM_SYS_TUN_OPEN
24int sys_tun_open(int, int); 24int sys_tun_open(int, int);
25#endif 25#endif