luci-app-adblock: adjust to change in option name
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 1 May 2016 07:51:04 +0000 (10:51 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Tue, 10 May 2016 13:44:44 +0000 (16:44 +0300)
Change also the adb_nullport option name to match 1.1.0

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 96c5069ca676d05d1f057fef1f1810701999d101)

applications/luci-app-adblock/luasrc/model/cbi/adblock.lua

index d0f5ecc..0f96ffb 100644 (file)
@@ -59,7 +59,7 @@ o5.datatype = "directory"
 e = m:section(NamedSection, "global", "adblock", translate("Extra options"),
        translate("Options for further tweaking in case the defaults are not suitable for you."))
 
-a1 = e:option(Value, "adb_port", translate("Port of the adblock uhttpd instance"))
+a1 = e:option(Value, "adb_nullport", translate("Port of the adblock uhttpd instance"))
 a1.optional = true
 a1.default = 65535
 a1.datatype = "port"