(self, ip_hostname_list)
| 1350 | try: |
| 1351 | if netifaces is None: |
| 1352 | return info |
| 1353 | gws = netifaces.gateways() |
| 1354 | gw_tuple = gws.get("default", {}).get(netifaces.AF_INET) |
| 1355 | if not gw_tuple: |
| 1356 | return info |
| 1357 | info["gateway_ip"] = gw_tuple[0] |
| 1358 | info["interface"] = gw_tuple[1] |
nothing calls this directly
no outgoing calls
no test coverage detected