summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-05-17 23:06:12 +0000
committerManuel Munz <freifunk@somakoma.de>2011-05-17 23:06:12 +0000
commit761510551d7450349753c54796adafde0513ed00 (patch)
tree817e7387a0654a067acdc3fea733523b06d9bcb8 /applications/luci-olsr
parent0a3877049b42c7645a6358ddaf4516b6b091a524 (diff)
applications/luci-olsr: Better datatype verification for ipv6 prefix.
Diffstat (limited to 'applications/luci-olsr')
-rw-r--r--applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua2
1 files changed, 1 insertions, 1 deletions
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"