(self)
| 534 | method_type = "ip4" |
| 535 | |
| 536 | def test(self): # type: () -> bool |
| 537 | # NOTE: specifying "arp.exe" instead of "arp" lets this work |
| 538 | # seamlessly on WSL1 as well. On WSL2 it doesn't matter, since |
| 539 | # it's basically just a Linux VM with some lipstick. |
| 540 | return check_command("arp.exe") |
| 541 | |
| 542 | def get(self, arg): # type: (str) -> Optional[str] |
| 543 | return _search(MAC_RE_DASH, _popen("arp.exe", "-a %s" % arg)) |
nothing calls this directly
no test coverage detected