1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 20:09:02 +00:00

Output a LISTEN test message when do_listen is successful.

This commit is contained in:
david
2013-08-16 08:02:55 +00:00
parent e2f4833fd1
commit f1cfaba9e2

View File

@@ -468,6 +468,8 @@ int do_listen(int type, int proto, const union sockaddr_u *srcaddr_u)
#endif
loguser("Listening on %s:%hu\n", inet_socktop(srcaddr_u), inet_port(srcaddr_u));
}
if (o.test)
logtest("LISTEN\n");
return sock;
}