(host, port, timeout=4)
| 1122 | for line in f: |
| 1123 | line = line.strip() |
| 1124 | if not line or line.startswith('#'): |
| 1125 | continue |
| 1126 | parts = re.split(r'\s+', line, maxsplit=1) |
| 1127 | if len(parts) != 2: |
| 1128 | continue |
| 1129 | pfx = re.sub(r'[^0-9a-fA-F]', '', parts[0]).lower() |
| 1130 | if len(pfx) < 6: |
| 1131 | continue |
| 1132 | pfx = pfx[:6] |