diff options
| author | acid-burn <acid-burn@opendreambox.org> | 2011-05-09 11:03:39 +0200 |
|---|---|---|
| committer | acid-burn <acid-burn@opendreambox.org> | 2011-05-09 11:03:39 +0200 |
| commit | baedb13351c92deaf80c2b1bc012054c8cc69bdc (patch) | |
| tree | 930ae43ffbfb2b33491df12cec83a393f8242211 /lib/python | |
| parent | ea593259b5e8ad4758992c2bbb5dd1a83dd71a04 (diff) | |
| download | enigma2-baedb13351c92deaf80c2b1bc012054c8cc69bdc.tar.gz enigma2-baedb13351c92deaf80c2b1bc012054c8cc69bdc.zip | |
Network.py: change network interface description name to old state. (LAN connection 1 -> Lan connection). refs #725
Diffstat (limited to 'lib/python')
| -rwxr-xr-x | lib/python/Components/Network.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py index eee5a702..32b8bdbe 100755 --- a/lib/python/Components/Network.py +++ b/lib/python/Components/Network.py @@ -274,16 +274,16 @@ class Network: name = None if self.isWirelessInterface(iface): if iface not in self.wlan_interfaces: - self.wlan_interfaces.append(iface) name = _("WLAN connection") if len(self.wlan_interfaces): - name += " " + str(len(self.wlan_interfaces)) + name += " " + str(len(self.wlan_interfaces)+1) + self.wlan_interfaces.append(iface) else: if iface not in self.lan_interfaces: - self.lan_interfaces.append(iface) name = _("LAN connection") if len(self.lan_interfaces): - name += " " + str(len(self.lan_interfaces)) + name += " " + str(len(self.lan_interfaces)+1) + self.lan_interfaces.append(iface) return name def getFriendlyAdapterDescription(self, iface): |
