applications/siitwizard:

- fix default lan ip
	- make ip and netmask depend on client mode
This commit is contained in:
Jo-Philipp Wich 2008-12-21 05:24:54 +00:00
parent bbcb69d46b
commit 3ecec3ddbf

View file

@ -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 --------------------