diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-12-21 05:24:54 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-12-21 05:24:54 +0000 |
commit | 3ecec3ddbf9bdec6cab0a775f4f419ec4a862369 (patch) | |
tree | 760369e252ca131c6d2a83842e547bfb132f9bf8 /applications/luci-siitwizard/luasrc | |
parent | bbcb69d46b816bc04c8cc3b596f30039902ac464 (diff) |
applications/siitwizard:
- fix default lan ip
- make ip and netmask depend on client mode
Diffstat (limited to 'applications/luci-siitwizard/luasrc')
-rw-r--r-- | applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua b/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua index 7ba7f03c04..a6b4050cef 100644 --- a/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua +++ b/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua @@ -31,10 +31,12 @@ uci:foreach("wireless", "wifi-device", end) lanip = f:field(Value, "ipaddr", "LAN IP Adresse") -lanip.value = "127.23.1.1" +lanip.value = "172.23.1.1" +lanip:depends("mode", "client") lanmsk = f:field(Value, "netmask", "LAN Netzmaske") lanmsk.value = "255.255.0.0" +lanmsk:depends("mode", "client") -------------------- Control -------------------- |