summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshlogin.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2014-07-15 15:54:14 +0000
committermillert <millert@openbsd.org>2014-07-15 15:54:14 +0000
commita021549948d44046acb30dc986ea0d38437f8146 (patch)
tree6cf2e1c14138430780731c2edb32e7f5269e0a58 /usr.bin/ssh/sshlogin.c
parentconserver moved port, ok ajacoutot@ (diff)
downloadwireguard-openbsd-a021549948d44046acb30dc986ea0d38437f8146.tar.xz
wireguard-openbsd-a021549948d44046acb30dc986ea0d38437f8146.zip
Add support for Unix domain socket forwarding. A remote TCP port
may be forwarded to a local Unix domain socket and vice versa or both ends may be a Unix domain socket. This is a reimplementation of the streamlocal patches by William Ahern from: http://www.25thandclement.com/~william/projects/streamlocal.html OK djm@ markus@
Diffstat (limited to 'usr.bin/ssh/sshlogin.c')
-rw-r--r--usr.bin/ssh/sshlogin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshlogin.c b/usr.bin/ssh/sshlogin.c
index 601d0728d85..0f646cf42e6 100644
--- a/usr.bin/ssh/sshlogin.c
+++ b/usr.bin/ssh/sshlogin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshlogin.c,v 1.28 2014/01/31 16:39:19 tedu Exp $ */
+/* $OpenBSD: sshlogin.c,v 1.29 2014/07/15 15:54:14 millert Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -56,6 +56,7 @@
#include "sshlogin.h"
#include "log.h"
#include "buffer.h"
+#include "misc.h"
#include "servconf.h"
extern Buffer loginmsg;