From 761510551d7450349753c54796adafde0513ed00 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Tue, 17 May 2011 23:06:12 +0000 Subject: applications/luci-olsr: Better datatype verification for ipv6 prefix. --- applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-olsr/luasrc/model/cbi/olsr') diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua index eb3b71272c..ad5143c2fb 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" -- cgit v1.2.3