From: root Date: Wed, 4 Apr 2007 13:13:32 +0000 (+0200) Subject: More survey fixes. X-Git-Url: https://git.sesse.net/?p=nms;a=commitdiff_plain;h=d69b635446c3b58d189d8fa3a835cc2c20b6fff5 More survey fixes. --- diff --git a/mbd/mbd.pl b/mbd/mbd.pl index 6a7b767..5be1ca0 100644 --- a/mbd/mbd.pl +++ b/mbd/mbd.pl @@ -49,7 +49,7 @@ sub cache_cidrrange { open LOG, ">>", "mbd.log"; -my @ports = ( mbd::find_all_ports() , $Config::survey_port_low, $Config::survey_port_high ); +my @ports = ( mbd::find_all_ports() , $Config::survey_port_low .. $Config::survey_port_high ); # Open a socket for each port my @socks = (); diff --git a/mbd/survey.pl b/mbd/survey.pl index 01b7b72..a948180 100644 --- a/mbd/survey.pl +++ b/mbd/survey.pl @@ -2,7 +2,7 @@ package Config; our $survey_ip = "87.76.254.2"; our $survey_port_low = 60100; -our $survey_port_high = 60600; +our $survey_port_high = 60200; our $survey_freq = 60.0; our $survey_time = 10.0;