diff options
Diffstat (limited to 'servconf.c')
-rw-r--r-- | servconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servconf.c b/servconf.c index 91986e55d..8ec5ca0e6 100644 --- a/servconf.c +++ b/servconf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: servconf.c,v 1.222 2011/06/22 21:57:01 djm Exp $ */ | 1 | /* $OpenBSD: servconf.c,v 1.223 2011/09/23 00:22:04 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
4 | * All rights reserved | 4 | * All rights reserved |
@@ -1341,7 +1341,7 @@ process_server_config_line(ServerOptions *options, char *line, | |||
1341 | fatal("%s line %d: missing host in PermitOpen", | 1341 | fatal("%s line %d: missing host in PermitOpen", |
1342 | filename, linenum); | 1342 | filename, linenum); |
1343 | p = cleanhostname(p); | 1343 | p = cleanhostname(p); |
1344 | if (arg == NULL || (port = a2port(arg)) <= 0) | 1344 | if (arg == NULL || ((port = permitopen_port(arg)) < 0)) |
1345 | fatal("%s line %d: bad port number in " | 1345 | fatal("%s line %d: bad port number in " |
1346 | "PermitOpen", filename, linenum); | 1346 | "PermitOpen", filename, linenum); |
1347 | if (*activep && n == -1) | 1347 | if (*activep && n == -1) |