mirror of
https://github.com/nmap/nmap.git
synced 2026-06-25 18:48:19 +00:00
Return size, not 0, in ncat_broadcast when o.recvonly is true.
This is what ncat_send does.
This commit is contained in:
parent
f35cf8b93a
commit
39f2e06d42
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ int ncat_broadcast(fd_set *fds, const fd_list_t *fdlist, const char *msg, size_t
|
|||
int i, ret;
|
||||
|
||||
if (o.recvonly)
|
||||
return 0;
|
||||
return size;
|
||||
|
||||
ret = 0;
|
||||
for (i = 0; i <= fdlist->fdmax; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue