summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/clientloop.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/clientloop.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/clientloop.h')
-rw-r--r--usr.bin/ssh/clientloop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/clientloop.h b/usr.bin/ssh/clientloop.h
index a1975ccc8a1..8d1f0bff695 100644
--- a/usr.bin/ssh/clientloop.h
+++ b/usr.bin/ssh/clientloop.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.h,v 1.34 2017/09/12 06:32:07 djm Exp $ */
+/* $OpenBSD: clientloop.h,v 1.35 2017/10/23 05:08:00 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -46,7 +46,7 @@ int client_x11_get_proto(struct ssh *, const char *, const char *,
void client_global_request_reply_fwd(int, u_int32_t, void *);
void client_session2_setup(struct ssh *, int, int, int,
const char *, struct termios *, int, Buffer *, char **);
-int client_request_tun_fwd(struct ssh *, int, int, int);
+char *client_request_tun_fwd(struct ssh *, int, int, int);
void client_stop_mux(void);
/* Escape filter for protocol 2 sessions */