[luci] Get ipaddr

forum-2008 at email.de forum-2008 at email.de
Fr Sep 5 15:12:09 CEST 2008


Ok. I have that so far now.


/usr/lib/lua/luci/model/cbi/uvc_streamer.lua:

...
z = Map("network", translate("network"))
s = z:section(NamedSection, "lan", "interface", translate("m_n_local"))
s.addremove = false
s:option(DummyValue, "ipaddr", translate("ipaddress"))
...
return m, z



What should I add to save the value of the network.lan.ipaddr into an variable and print it on the page?


More information about the luci mailing list