feature: SCAN_ALL implemented (to be tested)
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user