"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "boreas/alivedetection.c" between
gvm-libs-21.4.1.tar.gz and gvm-libs-21.4.2.tar.gz

About: GVM Libraries for the Greenbone Vulnerability Management (GVM-10) framework (derived from the former openvas-libraries).

alivedetection.c  (gvm-libs-21.4.1):alivedetection.c  (gvm-libs-21.4.2)
skipping to change at line 81 skipping to change at line 81
{ {
int number_of_targets; int number_of_targets;
int number_of_dead_hosts; int number_of_dead_hosts;
pthread_t sniffer_thread_id; pthread_t sniffer_thread_id;
GHashTableIter target_hosts_iter; GHashTableIter target_hosts_iter;
gpointer key, value; gpointer key, value;
struct timeval start_time, end_time; struct timeval start_time, end_time;
int scandb_id; int scandb_id;
gchar *scan_id; gchar *scan_id;
/* Following variables are only relevant if only ICMP was chosen. */ /* Following variables are only relevant if only ICMP was chosen. */
int remaining_batch; int remaining_batch = 0;
int prev_alive; int prev_alive = 0;
gboolean limit_reached_handled = FALSE; /* Scan restrictions related. */ gboolean limit_reached_handled = FALSE; /* Scan restrictions related. */
gettimeofday (&start_time, NULL); gettimeofday (&start_time, NULL);
number_of_targets = g_hash_table_size (scanner.hosts_data->targethosts); number_of_targets = g_hash_table_size (scanner.hosts_data->targethosts);
scandb_id = atoi (prefs_get ("ov_maindbid")); scandb_id = atoi (prefs_get ("ov_maindbid"));
scan_id = get_openvas_scan_id (prefs_get ("db_address"), scandb_id); scan_id = get_openvas_scan_id (prefs_get ("db_address"), scandb_id);
g_message ("Alive scan %s started: Target has %d hosts", scan_id, g_message ("Alive scan %s started: Target has %d hosts", scan_id,
number_of_targets); number_of_targets);
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)