diff options
author | Damien Miller <djm@mindrot.org> | 2006-01-01 19:47:05 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-01-01 19:47:05 +1100 |
commit | 2dcddbfaf6b68bd58b5b1422ebeef7767c0c2633 (patch) | |
tree | 8c044d00a3185cea6a500c32508df1161b048c29 /misc.c | |
parent | c4bcc917519e55f449044e558228a2e11b80740c (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 'misc.c')
-rw-r--r-- | misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -543,7 +543,7 @@ tun_open(int tun, int mode) | |||
543 | { | 543 | { |
544 | #if defined(CUSTOM_SYS_TUN_OPEN) | 544 | #if defined(CUSTOM_SYS_TUN_OPEN) |
545 | return (sys_tun_open(tun, mode)); | 545 | return (sys_tun_open(tun, mode)); |
546 | #elif defined(SSH_TUN_BSD) | 546 | #elif defined(SSH_TUN_OPENBSD) |
547 | struct ifreq ifr; | 547 | struct ifreq ifr; |
548 | char name[100]; | 548 | char name[100]; |
549 | int fd = -1, sock; | 549 | int fd = -1, sock; |