]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/util.py
Merge branch 'procman'
[software/pymin.git] / pymin / services / util.py
index 21afa63a15f8cbb362bdecacca531d4b51a81071..69864cf36c0949ada6ba4a55fed7ef6b8307a75a 100644 (file)
@@ -156,10 +156,11 @@ class Device(Sequence):
         self.name = name
         self.mac = mac
         self.ppp = ppp
         self.name = name
         self.mac = mac
         self.ppp = ppp
+        self.active = True
         self.addrs = dict()
         self.routes = list()
     def as_tuple(self):
         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)