X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mbd%2Fmbd.pl;h=5be1ca0e22232243f35b53a18da503aa9a1017f8;hb=d69b635446c3b58d189d8fa3a835cc2c20b6fff5;hp=6a7b767ca184053cec8f58ae0cecebc1855957ce;hpb=893551a0b976196fa8f395a02ee6b954e5973d2b;p=nms 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 = ();