summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/port-tun.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-01-01 09:47:05 +0100
committerDamien Miller <djm@mindrot.org>2006-01-01 09:47:05 +0100
commit2dcddbfaf6b68bd58b5b1422ebeef7767c0c2633 (patch)
tree8c044d00a3185cea6a500c32508df1161b048c29 /openbsd-compat/port-tun.h
parent - (djm) [configure.ac] oops, make that linux/if_tun.h (diff)
downloadopenssh-2dcddbfaf6b68bd58b5b1422ebeef7767c0c2633.tar.xz
openssh-2dcddbfaf6b68bd58b5b1422ebeef7767c0c2633.zip
- (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 @@
#include "channels.h"
-#if defined(SSH_TUN_LINUX)
+#if defined(SSH_TUN_LINUX) || defined(SSH_TUN_FREEBSD)
# define CUSTOM_SYS_TUN_OPEN
int sys_tun_open(int, int);
#endif