X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FNetwork.py;h=32b8bdbe76dcb89f68d9c1eb152e2aadbbb7a64c;hp=eee5a70280dbe45ec2b40ce46b1a8d53b756b37c;hb=29093ae1bc70153c52d4f72def2e2a011388583d;hpb=ea593259b5e8ad4758992c2bbb5dd1a83dd71a04 diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py index eee5a70..32b8bdb 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):