forked from p34709852/monkey
Agent: Change return type hint of _get_segmentation_check_targets() to be more specific
This commit is contained in:
parent
e2f0a2dfc0
commit
80328159f0
|
@ -112,7 +112,7 @@ def _remove_ips_from_scan_targets(
|
||||||
|
|
||||||
def _get_segmentation_check_targets(
|
def _get_segmentation_check_targets(
|
||||||
inaccessible_subnets: Iterable[str], local_interfaces: Iterable[IPv4Interface]
|
inaccessible_subnets: Iterable[str], local_interfaces: Iterable[IPv4Interface]
|
||||||
) -> Sequence[NetworkAddress]:
|
) -> List[NetworkAddress]:
|
||||||
ips_to_scan = []
|
ips_to_scan = []
|
||||||
local_ips = [str(interface.ip) for interface in local_interfaces]
|
local_ips = [str(interface.ip) for interface in local_interfaces]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue