From: Paul Oranje
Date: Sat, 2 May 2015 10:24:25 +0000 (+0200)
Subject: luci-proto-ipv6: correct aiccu options defaults
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F331%2Fhead;p=oweals%2Fluci.git
luci-proto-ipv6: correct aiccu options defaults
- requiretls default set to disabled
- corrected syntax errors in default values of Flag options for nat,
verbose and requiretls.
---
diff --git a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_aiccu.lua b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_aiccu.lua
index 5a971ce40..9315dc25b 100644
--- a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_aiccu.lua
+++ b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_aiccu.lua
@@ -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
-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.default = enabled
+requiretls.default = requiretls.disabled
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",