Merge pull request #249 from openwrt-es/luci-next
[project/luci.git] / applications / luci-dump1090 / luasrc / model / cbi / dump1090.lua
index d3efe0b..e9ed336 100644 (file)
@@ -22,6 +22,7 @@ enable=s:option(Flag, "disabled", translate("Enabled"))
 enable.enabled="0"
 enable.disabled="1"
 enable.default = "1"
+enable.rmempty = 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_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"