Commit 3c012add authored by Marco Mariani's avatar Marco Mariani

Merge branch 'cliff'

parents 32ea1e9e 79739eb9
...@@ -695,8 +695,7 @@ class Interface(object): ...@@ -695,8 +695,7 @@ class Interface(object):
_, result = callAndRead(['ip', 'addr', 'list', self.name]) _, result = callAndRead(['ip', 'addr', 'list', self.name])
self.attach_to_tap = 'DOWN' in result.split('\n', 1)[0] self.attach_to_tap = 'DOWN' in result.split('\n', 1)[0]
def __getinitargs__(self): # XXX no __getinitargs__, as instances of this class are never deserialized.
return (self.name,)
def getIPv4LocalAddressList(self): def getIPv4LocalAddressList(self):
""" """
......
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