mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-27 12:14:53 +02:00
Fix importing of CIDR blocks as targets: https://github.com/yogeshojha/rengine/issues/1163
This commit is contained in:
@@ -92,8 +92,8 @@ def add_target(request, slug):
|
||||
domains.append(target)
|
||||
|
||||
elif is_range:
|
||||
ips = get_ips_from_cidr_range(target)
|
||||
for ip_address in ips:
|
||||
_ips = get_ips_from_cidr_range(target)
|
||||
for ip_address in _ips:
|
||||
ips.append(ip_address)
|
||||
domains.append(ip_address)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user