Hi Jow, On Mon, Oct 17, 2011 at 12:22 PM, Jo-Philipp Wich <x...@subsignal.org> wrote: > you'll get the IP address behaviour if "lan" is set to proto dhcp or > something else which does not specify an ipaddr in advance.
This makes sense. However, it also makes sense to not support dynamic IP addresses, because if it changes, the configuration of all clients will be invalid. If the user is advanced enough to have local DNS, and to put in a hostname in the client configuration, then said user would not need the output of this field anyway. My thoughts are that if I get an empty string after quering ("network", "lan", "ipaddr"), I can print a short sentence that reads something along these lines: "IP address not static. Please set a static IP address in Network->LAN." or even simply "IP address not static." Would this work any better than just leaving the field empty? Cheers, Iordan -- The conscious mind has only one thread of execution. _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel