diff options
Diffstat (limited to 'applications/luci-p910nd/luasrc/model/cbi/p910nd.lua')
-rw-r--r-- | applications/luci-p910nd/luasrc/model/cbi/p910nd.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua b/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua index 68f75bfc4..e450a6275 100644 --- a/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua +++ b/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua @@ -26,7 +26,11 @@ s:option(Flag, "enabled", translate("enable")) s:option(Value, "device", translate("Device")).rmempty = true -s:option(Value, "port", translate("Port"), translate("port_help")).rmempty = true +p = s:option(ListValue, "port", translate("Port"), translate("TCP listener port.")) +p.rmempty = true +for i=0,9 do + p:value(i, 9100+i) +end s:option(Flag, "bidirectional", translate("Bidirectional mode")) |