From 1c054af0d765dbd561e1b9077e849035ed7bc587 Mon Sep 17 00:00:00 2001
From: Paul Oranje
Date: Sat, 2 May 2015 12:24:25 +0200
Subject: [PATCH] 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.
---
.../luasrc/model/cbi/admin_network/proto_aiccu.lua | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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",
--
2.25.1