added cidr support

This commit is contained in:
vanhauser-thc 2014-05-03 09:25:31 +02:00
parent 4f53932848
commit 32ec439be6
19 changed files with 135 additions and 116 deletions

View file

@ -140,7 +140,7 @@ void service_afp(char *ip, int sp, unsigned char options, char *miscptr, FILE *
port = myport;
}
if (sock < 0) {
fprintf(stderr, "[ERROR] Child with pid %d terminating, can not connect\n", (int) getpid());
if (quiet != 1) fprintf(stderr, "[ERROR] Child with pid %d terminating, can not connect\n", (int) getpid());
hydra_child_exit(1);
}