mirror of
https://github.com/nmap/nmap.git
synced 2026-06-27 19:53:10 +00:00
Output a LISTEN test message when do_listen is successful.
This commit is contained in:
parent
e2f4833fd1
commit
f1cfaba9e2
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue