version 1.223, 2022/12/18 12:51:10 |
version 1.224, 2022/12/18 12:53:18 |
|
|
|
|
ret = 0; |
ret = 0; |
if (vflag || zflag) { |
if (vflag || zflag) { |
|
int print_info = 1; |
|
|
/* For UDP, make sure we are connected. */ |
/* For UDP, make sure we are connected. */ |
if (uflag) { |
if (uflag) { |
if (udptest(s) == -1) { |
/* No info on failed or skipped test. */ |
|
if ((print_info = udptest(s)) == -1) { |
ret = 1; |
ret = 1; |
continue; |
continue; |
} |
} |
} |
} |
|
if (print_info == 1) |
connection_info(host, portlist[i], |
connection_info(host, portlist[i], |
uflag ? "udp" : "tcp", ipaddr); |
uflag ? "udp" : "tcp", ipaddr); |
} |
} |
if (Fflag) |
if (Fflag) |
fdpass(s); |
fdpass(s); |