MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / truthy

Function truthy

network_diagnostics.py:345–346  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

343 interface's src), so that check silently passes for exactly the interfaces
344 we need to exclude."""
345 res = _run(['ip', 'route', 'show', 'default', 'dev', iface], timeout=5)
346 return res['rc'] == 0 and bool(res['out'].strip())
347
348
349def _iface_default_gateway(iface):

Callers 1

_parse_poeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected