From: Manuel Munz Date: Tue, 17 May 2011 23:06:12 +0000 (+0000) Subject: applications/luci-olsr: Better datatype verification for ipv6 prefix. X-Git-Tag: 0.11.0~2119 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=761510551d7450349753c54796adafde0513ed00;p=oweals%2Fluci.git applications/luci-olsr: Better datatype verification for ipv6 prefix. --- diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua index eb3b71272..ad5143c2f 100644 --- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua +++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua @@ -37,7 +37,7 @@ net6 = hna6:option(Value, "netaddr", translate("Network address")) net6.datatype = "ip6addr" net6.placeholder = "fec0:2200:106:0:0:0:0:0" msk6 = hna6:option(Value, "prefix", translate("Prefix")) -msk6.datatype = "integer" +msk6.datatype = "range(0,128)" msk6.placeholder = "48"