(self, arg="")
| 1256 | return check_command("route") |
| 1257 | |
| 1258 | def get(self, arg=""): # type: (str) -> Optional[str] |
| 1259 | output = _popen("route", "-nq show -inet -gateway -priority 1") |
| 1260 | return output.partition("127.0.0.1")[0].strip().rpartition(" ")[2] |
| 1261 | |
| 1262 | |
| 1263 | class DefaultIfaceFreeBsd(Method): |