summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-02-08 19:13:12 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-02-08 19:13:12 +0100
commita0f0e008f7f381038cc52987efdbde6f62d1bcbc (patch)
tree606016f169f64aa4435451ca8d7adcbf1cf41396
parent4ba597b15cebbf626776cb6102bbb78bfc5357b7 (diff)
parente579b80a481294454f5607ad7bec7c8383a86529 (diff)
Merge pull request #319 from nmav/oc-iface
openconnect: ask for the output interface name
-rw-r--r--protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua b/protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua
index e0e63d8631..7b213127f8 100644
--- a/protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua
+++ b/protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua
@@ -19,6 +19,9 @@ port = section:taboption("general", Value, "port", translate("VPN Server port"))
port.placeholder = "443"
port.datatype = "port"
+ifname = section:taboption("general", Value, "interface", translate("Output Interface"))
+ifname.template = "cbi/network_netlist"
+
section:taboption("general", Value, "serverhash", translate("VPN Server's certificate SHA1 hash"))
section:taboption("general", Value, "authgroup", translate("AuthGroup"))