(rev: str)
| 10043 | with open(wifi_network_file, 'r', encoding='utf-8', errors='ignore') as f: |
| 10044 | reader = csv.reader(f) |
| 10045 | headers = next(reader, None) |
| 10046 | if headers: |
| 10047 | for row in reader: |
| 10048 | if len(row) >= 1 and row[0].strip(): |
| 10049 | ip = row[0].strip() |
| 10050 | ports = set() |
| 10051 | if len(row) > 4 and row[4]: |
| 10052 | # Parse ports from semicolon-separated list |
| 10053 | for port_entry in row[4].split(';'): |
| 10054 | normalized = _normalize_port_value(port_entry) |
| 10055 | if normalized: |
| 10056 | ports.add(normalized) |
| 10057 | |
| 10058 | existing_data[ip] = { |
no test coverage detected