Return to ssh-keyscan.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.77, 2008/11/01 11:14:36 | version 1.78, 2009/01/22 10:02:34 | ||
---|---|---|---|
|
|
||
break; | break; | ||
case 'p': | case 'p': | ||
ssh_port = a2port(optarg); | ssh_port = a2port(optarg); | ||
if (ssh_port == 0) { | if (ssh_port <= 0) { | ||
fprintf(stderr, "Bad port '%s'\n", optarg); | fprintf(stderr, "Bad port '%s'\n", optarg); | ||
exit(1); | exit(1); | ||
} | } |