diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-06-28 16:04:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-28 16:04:07 +0200 |
commit | af9d1b02a9dc0c0e725f13a944ec04580e49295a (patch) | |
tree | 1f9f5c1c4c86d529e744c0b96b5e6daa03507000 | |
parent | 65c7610b0597592efda295706dbef3b53d0e7085 (diff) | |
parent | 3a6c2872c69019588caac4c060f56c524fac7443 (diff) |
Merge pull request #749 from TaiSHiNet/master
Fixed luci-proto-vpnc typos which rendered it unusable
-rw-r--r-- | protocols/luci-proto-vpnc/luasrc/model/cbi/admin_network/proto_vpnc.lua | 13 |
1 files changed, 6 insertions, 7 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 e450470eb3..cb1dbcf5ea 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 @@ -26,7 +26,7 @@ port.datatype = "port" ifname = section:taboption("general", Value, "interface", translate("Output Interface")) ifname.template = "cbi/network_netlist" -mtu = section.taboption("general", Value, "mtu", translate("MTU")) +mtu = section:taboption("general", Value, "mtu", translate("MTU")) mtu.datatype = "uinteger" section:taboption("general", Value, "authgroup", translate("AuthGroup")) @@ -56,11 +56,11 @@ dh_group:value("dh1") dh_group:value("dh2") dh_group:value("dh5") -natt_mode = section:taboption("general", ListValue, "natt_mode", translate("NAT-T Mode") +natt_mode = section:taboption("general", ListValue, "natt_mode", translate("NAT-T Mode")) natt_mode:value("natt", translate("RFC3947 NAT-T mode")) natt_mode:value("none", translate("No NAT-T")) -natt_mode:value("force-natt", translate("Force use of NAT-T") -natt_mode:value("cisco-udp", translate("Cisco UDP encapsulation") +natt_mode:value("force-natt", translate("Force use of NAT-T")) +natt_mode:value("cisco-udp", translate("Cisco UDP encapsulation")) enable_no_enc = section:taboption("general", Flag, "enable_no_enc", translate("Disable Encryption"), @@ -72,11 +72,10 @@ enable_single_des = section:taboption("general", Flag, "enable_single_des", translate("If checked, 1DES is enaled")) enable_no_enc.default = enable_single_des.disabled -dpd_idle = section.taboption("general", Value, "dpd_idle", translate("DPD Idle Timeout")) +dpd_idle = section:taboption("general", Value, "dpd_idle", translate("DPD Idle Timeout")) dpd_idle.datatype = "uinteger" -dpd.placeholder = "600" +dpd_idle.placeholder = "600" ifname = section:taboption("general", Value, "target_network", translate("Target network")) port.placeholder = "0.0.0.0/0" port.datatype = "network" - |