Returns the progress of the scanning process.
(self)
| 1323 | if not lan or lan not in netifaces.interfaces() \ |
| 1324 | or self._is_cellular_uplink(lan) \ |
| 1325 | or netifaces.AF_INET not in netifaces.ifaddresses(lan): |
| 1326 | self.logger.warning( |
| 1327 | f"Only the cellular uplink ({default_gateway}) is online — " |
| 1328 | "skipping the LAN scan (set cellular_allow_scan to override)") |
| 1329 | return None |
| 1330 | self.arp_scan_interface = lan |
| 1331 | default_gateway = lan |
| 1332 | iface = netifaces.ifaddresses(default_gateway)[netifaces.AF_INET][0] |
| 1333 | ip_address = iface['addr'] |
nothing calls this directly
no outgoing calls
no test coverage detected