machine: return default values for find public interface
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
47c6245c3f
commit
d3003a1584
|
@ -419,7 +419,11 @@ class Machine:
|
|||
"address": addr,
|
||||
"family": fam
|
||||
}
|
||||
return {}
|
||||
return {
|
||||
"ifname": "",
|
||||
"address": src_ip or "",
|
||||
"family": ""
|
||||
}
|
||||
|
||||
def _find_public_ip(self) -> Optional[str]:
|
||||
# Check for an IPv4 Source IP
|
||||
|
|
Loading…
Reference in New Issue