Merge pull request #319 from nmav/oc-iface
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 8 Feb 2015 18:13:12 +0000 (19:13 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 8 Feb 2015 18:13:12 +0000 (19:13 +0100)
openconnect: ask for the output interface name

protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua

index e0e63d8..7b21312 100644 (file)
@@ -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"))