diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2006-07-21 12:43:37 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2006-07-21 12:43:37 +0000 |
commit | 89cfae38eaeda7d6d65a73ed0bdb0bac0435af93 (patch) | |
tree | 955dd1cc6bbb3e8cc0c8e27513ddce0fede9ae44 /usr.bin/ssh/servconf.h | |
parent | 5c5f5d9ed37fd5eb31caca10e723a3d418b3152e (diff) |
Make PermitOpen take a list of permitted ports and act more like most other
keywords (ie the first match is the effective setting). This also makes it
easier to override a previously set PermitOpen. ok djm@
Diffstat (limited to 'usr.bin/ssh/servconf.h')
-rw-r--r-- | usr.bin/ssh/servconf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/servconf.h b/usr.bin/ssh/servconf.h index dd5d50533fa..3665c07b3ae 100644 --- a/usr.bin/ssh/servconf.h +++ b/usr.bin/ssh/servconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.h,v 1.76 2006/07/19 13:07:10 dtucker Exp $ */ +/* $OpenBSD: servconf.h,v 1.77 2006/07/21 12:43:36 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -138,6 +138,8 @@ typedef struct { char *adm_forced_command; int permit_tun; + + int num_permitted_opens; } ServerOptions; void initialize_server_options(ServerOptions *); |