summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJuan Manuel M <marinojuanm@gmail.com>2016-06-28 11:15:23 -0300
committerJo-Philipp Wich <jo@mein.io>2016-06-28 16:43:42 +0200
commitd4176328dfcd5ed696d91c12c53c06416f05dfd4 (patch)
tree824d94c9352fdcb5c25442cc17fb34c83e8a4fd7
parent52de960bb538cdd279d882cd7e23494b077d9989 (diff)
luci-proto-vpnc: further typo fixes
-rw-r--r--protocols/luci-proto-vpnc/luasrc/model/cbi/admin_network/proto_vpnc.lua18
1 files changed, 8 insertions, 10 deletions
diff --git a/protocols/luci-proto-vpnc/luasrc/model/cbi/admin_network/proto_vpnc.lua b/protocols/luci-proto-vpnc/luasrc/model/cbi/admin_network/proto_vpnc.lua
index cb1dbcf5ea..a47ce1588c 100644
--- a/protocols/luci-proto-vpnc/luasrc/model/cbi/admin_network/proto_vpnc.lua
+++ b/protocols/luci-proto-vpnc/luasrc/model/cbi/admin_network/proto_vpnc.lua
@@ -29,18 +29,16 @@ ifname.template = "cbi/network_netlist"
mtu = section:taboption("general", Value, "mtu", translate("MTU"))
mtu.datatype = "uinteger"
-section:taboption("general", Value, "authgroup", translate("AuthGroup"))
-
username = section:taboption("general", Value, "username", translate("Username"))
password = section:taboption("general", Value, "password", translate("Password"))
-hexpassword = section:taboption("general", Value, "hexpassword", translate("Obfuscated Password"))
password.password = true
+hexpassword = section:taboption("general", Value, "hexpassword", translate("Obfuscated Password"))
hexpassword.password = true
authroup = section:taboption("general", Value, "authgroup", translate("Auth Group"))
passgroup = section:taboption("general", Value, "passgroup", translate("Group Password"))
+passgroup.password = true
hexpassgroup = section:taboption("general", Value, "hexpassgroup", translate("Obfuscated Group Password"))
-password.passgroup = true
-hexpassword.passgroup= true
+hexpassword.password= true
domain = section:taboption("general", Value, "domain", translate("NT Domain"))
vendor = section:taboption("general", Value, "vendor", translate("Vendor"))
@@ -50,11 +48,11 @@ dh_group:value("dh1")
dh_group:value("dh5")
pfs = section:taboption("general", ListValue, "pfs", translate("Perfect Forward Secrecy"))
-dh_group:value("server")
-dh_group:value("nopfs")
-dh_group:value("dh1")
-dh_group:value("dh2")
-dh_group:value("dh5")
+pfs:value("server")
+pfs:value("nopfs")
+pfs:value("dh1")
+pfs:value("dh2")
+pfs:value("dh5")
natt_mode = section:taboption("general", ListValue, "natt_mode", translate("NAT-T Mode"))
natt_mode:value("natt", translate("RFC3947 NAT-T mode"))