diff --git a/chaos_monkey/network/network_scanner.py b/chaos_monkey/network/network_scanner.py index bef094429..20c264cc6 100644 --- a/chaos_monkey/network/network_scanner.py +++ b/chaos_monkey/network/network_scanner.py @@ -27,7 +27,8 @@ class NetworkScanner(object): LOG.info("Found local IP addresses of the machine: %r", self._ip_addresses) # for fixed range, only scan once. if WormConfiguration.range_class is FixedRange: - self._ranges = [WormConfiguration.range_class('0.0.0.0')] + self._ranges = [WormConfiguration.range_class(ip_address) + for ip_address in WormConfiguration.range_fixed] else: self._ranges = [WormConfiguration.range_class(ip_address) for ip_address in self._ip_addresses]