projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #247 from Wedmer/master
[project/luci.git]
/
applications
/
luci-dump1090
/
luasrc
/
model
/
cbi
/
dump1090.lua
diff --git
a/applications/luci-dump1090/luasrc/model/cbi/dump1090.lua
b/applications/luci-dump1090/luasrc/model/cbi/dump1090.lua
index
d3efe0b
..
e9ed336
100644
(file)
--- a/
applications/luci-dump1090/luasrc/model/cbi/dump1090.lua
+++ b/
applications/luci-dump1090/luasrc/model/cbi/dump1090.lua
@@
-22,6
+22,7
@@
enable=s:option(Flag, "disabled", translate("Enabled"))
enable.enabled="0"
enable.disabled="1"
enable.default = "1"
enable.enabled="0"
enable.disabled="1"
enable.default = "1"
+enable.rmempty = false
respawn=s:option(Flag, "respawn", translate("Respawn"))
respawn.default = false
respawn=s:option(Flag, "respawn", translate("Respawn"))
respawn.default = false
@@
-58,6
+59,10
@@
net_beast.default = false
net_only=s:option(Flag, "net_only", translate("Enable just networking, no RTL device or file used"))
net_only.default = false
net_only=s:option(Flag, "net_only", translate("Enable just networking, no RTL device or file used"))
net_only.default = false
+net_bind_address=s:option(Value, "net_bind_address", translate("IP address to bind to"))
+net_bind_address.rmempty = true
+net_bind_address.datatype = "ipaddr"
+
net_http_port=s:option(Value, "net_http_port", translate("HTTP server port"))
net_http_port.rmempty = true
net_http_port.datatype = "port"
net_http_port=s:option(Value, "net_http_port", translate("HTTP server port"))
net_http_port.rmempty = true
net_http_port.datatype = "port"