Log when IP address family not found for interface
This commit is contained in:
parent
105cf6666f
commit
2c1213116e
|
@ -118,6 +118,7 @@ else:
|
|||
try:
|
||||
return addrs[family][0]['addr']
|
||||
except (KeyError, IndexError):
|
||||
pl.info("No IPv{0} address found for interface {1}", ipv, interface)
|
||||
return None
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue