luci-proto-ipv6: correct aiccu options defaults 331/head
authorPaul Oranje <p.oranje@xs4all.nl>
Sat, 2 May 2015 10:24:25 +0000 (12:24 +0200)
committerPaul Oranje <p.oranje@xs4all.nl>
Sat, 2 May 2015 10:24:25 +0000 (12:24 +0200)
- requiretls default set to disabled
- corrected syntax errors in default values of Flag options for nat,
verbose and requiretls.

protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_aiccu.lua

index 5a971ce..9315dc2 100644 (file)
@@ -69,21 +69,21 @@ nat = section:taboption("general", Flag, "nat",
        translate("Behind NAT"),
        translate("The tunnel end-point is behind NAT, defaults to disabled and only applies to AYIYA"))
 nat.optional = true
        translate("Behind NAT"),
        translate("The tunnel end-point is behind NAT, defaults to disabled and only applies to AYIYA"))
 nat.optional = true
-nat.default = disabled
+nat.default = nat.disabled
 
 
 requiretls = section:taboption("general", Flag, "requiretls",
        translate("Require TLS"),
        translate("Connection to server fails when TLS cannot be used"))
 requiretls.optional = true
 
 
 requiretls = section:taboption("general", Flag, "requiretls",
        translate("Require TLS"),
        translate("Connection to server fails when TLS cannot be used"))
 requiretls.optional = true
-requiretls.default = enabled
+requiretls.default = requiretls.disabled
 
 
 verbose = section:taboption("advanced", Flag, "verbose",
        translate("Verbose"),
        translate("Verbose logging by aiccu daemon"))
 verbose.optional = true
 
 
 verbose = section:taboption("advanced", Flag, "verbose",
        translate("Verbose"),
        translate("Verbose logging by aiccu daemon"))
 verbose.optional = true
-verbose.default = disabled
+verbose.default = verbose.disabled
 
 
 ntpsynctimeout = section:taboption("advanced", Value, "ntpsynctimeout",
 
 
 ntpsynctimeout = section:taboption("advanced", Value, "ntpsynctimeout",