Browse Source

Merge pull request #2245 from shsmith/master

fix #2204
283
ThomasV 8 years ago
committed by GitHub
parent
commit
682645bfe0
  1. 3
      lib/network.py

3
lib/network.py

@ -508,7 +508,8 @@ class Network(util.DaemonThread):
def close_interface(self, interface):
if interface:
self.interfaces.pop(interface.server)
if interface.server in self.interfaces:
self.interfaces.pop(interface.server)
if interface.server == self.default_server:
self.interface = None
interface.close()

Loading…
Cancel
Save