1f009954930b20ade62167216007576707e9760f
[vuplus_openvuplus_3.0] / meta-bsp / recipes-vuplus / enigma2 / enigma2 / enigma2_network_sys0.patch
1 diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py
2 index c39d1ba..ce09f43 100755
3 --- a/lib/python/Components/Network.py
4 +++ b/lib/python/Components/Network.py
5 @@ -46,7 +46,7 @@ class Network:
6                 return self.remoteRootFS
7  
8         def isBlacklisted(self, iface):
9 -               return iface in ('lo', 'wifi0', 'wmaster0')
10 +               return iface in ('lo', 'wifi0', 'wmaster0', 'sys0')
11  
12         def getInterfaces(self, callback = None):
13                 self.configuredInterfaces = []
14 @@ -90,7 +90,7 @@ class Network:
15                 
16                 for line in result.splitlines():
17                         split = line.strip().split(' ',2)
18 -                       if (split[1][:-1] == iface):
19 +                       if (split[1][:-1] == iface) or (split[1][:-1] == (iface + '@sys0')):
20                                 up = self.regExpMatch(upPattern, split[2])
21                                 mac = self.regExpMatch(macPattern, self.regExpMatch(macLinePattern, split[2]))
22                                 if up is not None: