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 /channels.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 'channels.h')
-rw-r--r-- | channels.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.h b/channels.h index c473b730c..ed719f724 100644 --- a/channels.h +++ b/channels.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: channels.h,v 1.86 2006/07/17 12:06:00 dtucker Exp $ */ | 1 | /* $OpenBSD: channels.h,v 1.87 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> |
@@ -207,7 +207,7 @@ int channel_find_open(void); | |||
207 | void channel_set_af(int af); | 207 | void channel_set_af(int af); |
208 | void channel_permit_all_opens(void); | 208 | void channel_permit_all_opens(void); |
209 | void channel_add_permitted_opens(char *, int); | 209 | void channel_add_permitted_opens(char *, int); |
210 | void channel_add_adm_permitted_opens(char *, int); | 210 | int channel_add_adm_permitted_opens(char *, int); |
211 | void channel_clear_permitted_opens(void); | 211 | void channel_clear_permitted_opens(void); |
212 | void channel_clear_adm_permitted_opens(void); | 212 | void channel_clear_adm_permitted_opens(void); |
213 | int channel_input_port_forward_request(int, int); | 213 | int channel_input_port_forward_request(int, int); |