git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9b6cc41
)
fix initial IP not shown in network config
author
Felix Domke
<tmbinc@elitedvb.net>
Sun, 15 Oct 2006 12:34:58 +0000
(12:34 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sun, 15 Oct 2006 12:34:58 +0000
(12:34 +0000)
lib/python/Components/Network.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/Network.py
b/lib/python/Components/Network.py
index 7513901f87a0ea933a4b6b37a3cf94f21fd17c80..0493f0faccef25f6b3c8f7441f3c4e9d670945ac 100644
(file)
--- a/
lib/python/Components/Network.py
+++ b/
lib/python/Components/Network.py
@@
-139,11
+139,9
@@
class Network:
iNetwork = Network()
def InitNetwork():
iNetwork = Network()
def InitNetwork():
- ip = iNetwork.getCurrentIP()
-
config.network = ConfigSubsection()
config.network.dhcp = NoSave(ConfigYesNo(default=True))
config.network = ConfigSubsection()
config.network.dhcp = NoSave(ConfigYesNo(default=True))
- config.network.ip = NoSave(ConfigIP(default=
[0,0,0,0]
))
+ config.network.ip = NoSave(ConfigIP(default=
iNetwork.getCurrentIP()
))
config.network.netmask = NoSave(ConfigIP(default=[255,255,255,0]))
config.network.gateway = NoSave(ConfigIP(default=[192,168,1,3]))
config.network.dns = NoSave(ConfigIP(default=[192,168,1,3]))
config.network.netmask = NoSave(ConfigIP(default=[255,255,255,0]))
config.network.gateway = NoSave(ConfigIP(default=[192,168,1,3]))
config.network.dns = NoSave(ConfigIP(default=[192,168,1,3]))