forked from p34709852/monkey
Agent: Change return typehint to be more specific
This commit is contained in:
parent
182a566087
commit
b9cf200832
|
@ -76,7 +76,7 @@ def _get_ips_from_ranges_to_scan(network_ranges: Iterable[NetworkRange]) -> List
|
||||||
|
|
||||||
def _get_ips_to_scan_from_interface(
|
def _get_ips_to_scan_from_interface(
|
||||||
interfaces: Sequence[IPv4Interface],
|
interfaces: Sequence[IPv4Interface],
|
||||||
) -> Sequence[NetworkAddress]:
|
) -> List[NetworkAddress]:
|
||||||
ranges = [str(interface) for interface in interfaces]
|
ranges = [str(interface) for interface in interfaces]
|
||||||
|
|
||||||
ranges = NetworkRange.filter_invalid_ranges(
|
ranges = NetworkRange.filter_invalid_ranges(
|
||||||
|
|
Loading…
Reference in New Issue