diff options
author | Damien Miller <djm@mindrot.org> | 2006-07-24 14:08:13 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-07-24 14:08:13 +1000 |
commit | a765cf4b66ba116626c317204ac317607fe0c848 (patch) | |
tree | e5a7787b7ec433be787e1ba13c6c67563cde620b /servconf.h | |
parent | 1cdde6f536ec50d7165ff56843c99655c95a68eb (diff) |
- dtucker@cvs.openbsd.org 2006/07/21 12:43:36
[channels.c channels.h servconf.c servconf.h sshd_config.5]
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 'servconf.h')
-rw-r--r-- | servconf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/servconf.h b/servconf.h index 41dce7686..0add6518d 100644 --- a/servconf.h +++ b/servconf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: servconf.h,v 1.76 2006/07/19 13:07:10 dtucker Exp $ */ | 1 | /* $OpenBSD: servconf.h,v 1.77 2006/07/21 12:43:36 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -140,6 +140,8 @@ typedef struct { | |||
140 | int use_pam; /* Enable auth via PAM */ | 140 | int use_pam; /* Enable auth via PAM */ |
141 | 141 | ||
142 | int permit_tun; | 142 | int permit_tun; |
143 | |||
144 | int num_permitted_opens; | ||
143 | } ServerOptions; | 145 | } ServerOptions; |
144 | 146 | ||
145 | void initialize_server_options(ServerOptions *); | 147 | void initialize_server_options(ServerOptions *); |