Mon, 18 Jul 2011 19:50:45 +0200
Small change to the IPv6 code.
Debugger/DebugServer.py | file | annotate | diff | comparison | revisions | |
Preferences/ConfigurationPages/DebuggerGeneralPage.py | file | annotate | diff | comparison | revisions |
--- a/Debugger/DebugServer.py Sun Jul 17 18:27:48 2011 +0200 +++ b/Debugger/DebugServer.py Mon Jul 18 19:50:45 2011 +0200 @@ -226,7 +226,8 @@ if len(addressEntries) > 0: for addressEntry in addressEntries: if addressEntry.ip().toString().lower() == address.lower(): - return networkInterface.name(), networkInterface.index() + return networkInterface.humanReadableName(), \ + networkInterface.index() return "", 0
--- a/Preferences/ConfigurationPages/DebuggerGeneralPage.py Sun Jul 17 18:27:48 2011 +0200 +++ b/Preferences/ConfigurationPages/DebuggerGeneralPage.py Mon Jul 18 19:50:45 2011 +0200 @@ -66,7 +66,7 @@ if ":" in addressEntry.ip().toString() and not socket.has_ipv6: continue # IPv6 not supported by Python interfaces.append("{0} ({1})"\ - .format(networkInterface.name(), + .format(networkInterface.humanReadableName(), addressEntry.ip().toString())) self.interfacesCombo.addItems(interfaces) interface = Preferences.getDebugger("NetworkInterface")