Restore connection success message for normal use

This commit is contained in:
dmiller 2016-11-28 15:11:50 +00:00
parent 05dde0de49
commit 581d3e98ce
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
# Nmap Changelog ($Id$); -*-text-*-
o [Ncat] Restore the connection success message that Ncat prints with -v. This
was accidentally suppressed when not using -z.
o [NSE] Added known Diffie-Hellman parameters for haproxy, postfix, and
IronPort to ssl-dh-params. [Frank Bergmann]

View file

@ -1113,8 +1113,8 @@ static void connect_handler(nsock_pool nsp, nsock_event evt, void *data)
}
#endif
connect_report(cs.sock_nsi);
if (o.proto != IPPROTO_UDP && o.zerobyte) {
connect_report(cs.sock_nsi);
nsock_loop_quit(nsp);
}