Fixed HNA issue. Bmx6 section name is unicastHna instead of hna
authorp4u <pau@dabax.net>
Sun, 20 Jan 2013 13:06:26 +0000 (14:06 +0100)
committerp4u <pau@dabax.net>
Sun, 20 Jan 2013 13:06:26 +0000 (14:06 +0100)
bmx6-luci/files/usr/lib/lua/luci/model/cbi/bmx6/hna.lua

index a05620b..db98ae6 100644 (file)
@@ -23,10 +23,10 @@ local sys = require("luci.sys")
 
 m = Map("bmx6", "bmx6")
 
-local hna = m:section(TypedSection,"hna","IPv6 HNA")
+local hna = m:section(TypedSection,"unicastHna","IPv6 HNA")
 hna.addremove = true
 hna.anonymous = true
-local hna_option = hna:option(Value,"hna", "Host Network Announcement IPv6")
+local hna_option = hna:option(Value,"unicastHna", "IPv6 Host Network Announcement. Syntax <NETADDR>/<PREFIX>")
 
 --function hna_option:validate(value)
 --     local err = sys.call('bmx6 -c --test -a ' .. value)