summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/includes.h
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2005-12-08 18:34:10 +0000
committerreyk <reyk@openbsd.org>2005-12-08 18:34:10 +0000
commit0e3ade45df73f17ffeabbcc3b5ab978fa5b57c53 (patch)
tree1107d285006040de3f8af472d5bd884c3c7451d9 /usr.bin/ssh/includes.h
parentMissing #include <limits.h> (diff)
downloadwireguard-openbsd-0e3ade45df73f17ffeabbcc3b5ab978fa5b57c53.tar.xz
wireguard-openbsd-0e3ade45df73f17ffeabbcc3b5ab978fa5b57c53.zip
two changes to the new ssh tunnel support. this breaks compatibility
with the initial commit but is required for a portable approach. - make the tunnel id u_int and platform friendly, use predefined types. - support configuration of layer 2 (ethernet) or layer 3 (point-to-point, default) modes. configuration is done using the Tunnel (yes|point-to-point|ethernet|no) option is ssh_config(5) and restricted by the PermitTunnel (yes|point-to-point|ethernet|no) option in sshd_config(5). ok djm@, man page bits by jmc@
Diffstat (limited to 'usr.bin/ssh/includes.h')
-rw-r--r--usr.bin/ssh/includes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/includes.h b/usr.bin/ssh/includes.h
index 93d9d851ea5..3c3dc76867f 100644
--- a/usr.bin/ssh/includes.h
+++ b/usr.bin/ssh/includes.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: includes.h,v 1.20 2005/11/15 11:59:54 millert Exp $ */
+/* $OpenBSD: includes.h,v 1.21 2005/12/08 18:34:11 reyk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -38,6 +38,8 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
#include <arpa/inet.h>
#include <netdb.h>
+#include <net/if.h>
+
#include <stddef.h>
#include <netgroup.h>
#include <stdio.h>