Raise correct error when no IP on interface is available

parent 987a8448
......@@ -211,7 +211,8 @@ class Computer(object):
return self.interface.addAddr()
# Can't find address
return False
raise NoAddressOnInterface('No valid IPv6 found on %s.' %
self.interface.name)
def send(self, config):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment