sshnet: allow 0 port
This commit is contained in:
parent
dd8af39bce
commit
d4033c31bb
1 changed files with 1 additions and 1 deletions
|
@ -744,7 +744,7 @@ cswrite(Req *r)
|
|||
return;
|
||||
}
|
||||
port = ndbfindport(f[2]);
|
||||
if(port <= 0){
|
||||
if(port < 0){
|
||||
free(s);
|
||||
respond(r, "no translation found");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue