]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/ip/__init__.py
Removed 'ip addr update' command since it has not much sense.
[software/pymin.git] / pymin / services / ip / __init__.py
index 9d256a294ad3020c9ff6073cba7ce53569c84456..7b5eafe698583518dc3c457948417ce7cffe549b 100644 (file)
@@ -110,9 +110,6 @@ class Address(Sequence):
         self.ip = ip
         self.netmask = netmask
         self.broadcast = broadcast
-    def update(self, netmask=None, broadcast=None):
-        if netmask is not None: self.netmask = netmask
-        if broadcast is not None: self.broadcast = broadcast
     def as_tuple(self):
         return (self.ip, self.netmask, self.broadcast)