feature: SCAN_ALL implemented (to be tested)

This commit is contained in:
0x35c
2025-05-30 14:42:56 +02:00
parent 227000cf97
commit 936c277d02
7 changed files with 51 additions and 41 deletions

View File

@ -39,12 +39,10 @@ void *routine(void *p_data)
scan_data.port = port;
scan_data.response =
&thread_data->responses[port - thread_data->port_start];
printf("uwu on port %d\n", port);
if (scan(&scan_data)) {
free(p_data);
return NULL;
}
printf("%d has state: %d\n", port, scan_data.response->state);
}
return NULL;