diff options
author | djm@openbsd.org <djm@openbsd.org> | 2017-10-23 05:08:00 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-10-23 16:14:30 +1100 |
commit | b7548b12a6b2b4abf4d057192c353147e0abba08 (patch) | |
tree | dc76477cd371b6197ba840c3a178bfbcf6d7baba /misc.h | |
parent | 887669ef032d63cf07f53cada216fa8a0c9a7d72 (diff) |
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 'misc.h')
-rw-r--r-- | misc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.64 2017/10/21 23:06:24 millert Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.65 2017/10/23 05:08:00 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -87,7 +87,7 @@ void replacearg(arglist *, u_int, char *, ...) | |||
87 | __attribute__((format(printf, 3, 4))); | 87 | __attribute__((format(printf, 3, 4))); |
88 | void freeargs(arglist *); | 88 | void freeargs(arglist *); |
89 | 89 | ||
90 | int tun_open(int, int); | 90 | int tun_open(int, int, char **); |
91 | 91 | ||
92 | /* Common definitions for ssh tunnel device forwarding */ | 92 | /* Common definitions for ssh tunnel device forwarding */ |
93 | #define SSH_TUNMODE_NO 0x00 | 93 | #define SSH_TUNMODE_NO 0x00 |