Log when IP address family not found for interface

This commit is contained in:
Sean Fisk 2015-09-05 18:02:11 -04:00
parent 105cf6666f
commit 2c1213116e
1 changed files with 1 additions and 0 deletions

View File

@ -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