machine: return default values for find public interface
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
1 file changed
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user