some fixes
[enigma2.git] / lib / python / Components / Network.py
index e10c6a0..8e9fc12 100755 (executable)
@@ -20,6 +20,7 @@ class Network:
                self.deactivateConsole = Console()
                self.activateConsole = Console()
                self.resetNetworkConsole = Console()
+               self.DnsConsole = Console()
                self.getInterfaces()
 
        def getInterfaces(self, callback = None):
@@ -445,6 +446,10 @@ class Network:
                if self.LinkConsole is not None:
                        self.LinkConsole = None
 
+       def stopDNSConsole(self):
+               if self.DnsConsole is not None:
+                       self.DnsConsole = None
+
        def stopRestartConsole(self):
                if self.restartConsole is not None:
                        self.restartConsole = None