diff options
author | djm@openbsd.org <djm@openbsd.org> | 2017-10-23 07:08:00 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-10-23 07:14:30 +0200 |
commit | b7548b12a6b2b4abf4d057192c353147e0abba08 (patch) | |
tree | dc76477cd371b6197ba840c3a178bfbcf6d7baba /openbsd-compat/port-tun.h | |
parent | upstream commit (diff) | |
download | openssh-b7548b12a6b2b4abf4d057192c353147e0abba08.tar.xz openssh-b7548b12a6b2b4abf4d057192c353147e0abba08.zip |
upstream commit
Expose devices allocated for tun/tap forwarding.
At the client, the device may be obtained from a new %T expansion
for LocalCommand.
At the server, the allocated devices will be listed in a
SSH_TUNNEL variable exposed to the environment of any user sessions
started after the tunnel forwarding was established.
ok markus
Upstream-ID: e61e53f8ae80566e9ddc0d67a5df5bdf2f3c9f9e
Diffstat (limited to 'openbsd-compat/port-tun.h')
-rw-r--r-- | openbsd-compat/port-tun.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/port-tun.h b/openbsd-compat/port-tun.h index 103514370..926bc93e1 100644 --- a/openbsd-compat/port-tun.h +++ b/openbsd-compat/port-tun.h @@ -22,7 +22,7 @@ struct ssh; #if defined(SSH_TUN_LINUX) || defined(SSH_TUN_FREEBSD) # define CUSTOM_SYS_TUN_OPEN -int sys_tun_open(int, int); +int sys_tun_open(int, int, char **); #endif #if defined(SSH_TUN_COMPAT_AF) || defined(SSH_TUN_PREPEND_AF) |