summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/misc.h
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2017-10-23 05:08:00 +0000
committerdjm <djm@openbsd.org>2017-10-23 05:08:00 +0000
commit39a288ec9abdad08cdca4429df9f9771a04419dd (patch)
tree7cdcf9ef4307992f96f7c1aa88e29de232013596 /usr.bin/ssh/misc.h
parentremove mention of unused MACOBIOVERBOSE and NBUF options (diff)
downloadwireguard-openbsd-39a288ec9abdad08cdca4429df9f9771a04419dd.tar.xz
wireguard-openbsd-39a288ec9abdad08cdca4429df9f9771a04419dd.zip
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
Diffstat (limited to 'usr.bin/ssh/misc.h')
-rw-r--r--usr.bin/ssh/misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/misc.h b/usr.bin/ssh/misc.h
index b5ee75e235c..e4bd39b37c2 100644
--- a/usr.bin/ssh/misc.h
+++ b/usr.bin/ssh/misc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.h,v 1.64 2017/10/21 23:06:24 millert Exp $ */
+/* $OpenBSD: misc.h,v 1.65 2017/10/23 05:08:00 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -85,7 +85,7 @@ void replacearg(arglist *, u_int, char *, ...)
__attribute__((format(printf, 3, 4)));
void freeargs(arglist *);
-int tun_open(int, int);
+int tun_open(int, int, char **);
/* Common definitions for ssh tunnel device forwarding */
#define SSH_TUNMODE_NO 0x00