(v)
| 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 | |
| 349 | def _iface_default_gateway(iface): |