mirror of
https://github.com/nmap/nmap.git
synced 2026-01-05 22:19:03 +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:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user