aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-14 13:47:10 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-14 13:47:10 +0000
commit6f43d8cd46f2f30f615e6105e78b35a0297f0ffe (patch)
tree4543277781326ccc8c525bda36f13884e51cc215 /lib/python
parent6b7a8bd2c66345ad740c3fca50b58e21fdb7f39e (diff)
downloadenigma2-6f43d8cd46f2f30f615e6105e78b35a0297f0ffe.tar.gz
enigma2-6f43d8cd46f2f30f615e6105e78b35a0297f0ffe.zip
(final?) fix in getCurrentIP
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/Network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py
index 444269fb..99afb75d 100644
--- a/lib/python/Components/Network.py
+++ b/lib/python/Components/Network.py
@@ -123,7 +123,7 @@ class Network:
ipstr = [0,0,0,0]
for x in os.popen("ifconfig eth0 | grep 'inet addr:'", "r").readline().split(' '):
if x.split(':')[0] == "addr":
- ip = x.split(':')[1].split('.')
+ ipstr = x.split(':')[1].split('.')
ip = []
for x in ipstr:
ip.append(int(x))