]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/util.py
Support for inactive devices added in IPHandler.
[software/pymin.git] / pymin / services / util.py
index 867b3b93b7ee1ecab73191c2564ab591cddda442..2d73c774389a3398d0e88765d008a8d21f613c76 100644 (file)
@@ -171,10 +171,11 @@ class Device(Sequence):
         self.name = name
         self.mac = mac
         self.ppp = ppp
+        self.active = True
         self.addrs = dict()
         self.routes = list()
     def as_tuple(self):
-        return (self.name, self.mac, self.addrs)
+        return (self.name, self.mac, self.active, self.addrs)