Return to ssh.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.322, 2008/11/01 17:40:33 | version 1.323, 2009/01/22 10:02:34 | ||
---|---|---|---|
|
|
||
break; | break; | ||
case 'p': | case 'p': | ||
options.port = a2port(optarg); | options.port = a2port(optarg); | ||
if (options.port == 0) { | if (options.port <= 0) { | ||
fprintf(stderr, "Bad port '%s'\n", optarg); | fprintf(stderr, "Bad port '%s'\n", optarg); | ||
exit(255); | exit(255); | ||
} | } |