openconnect: ask for the output interface name
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 8 Feb 2015 17:46:48 +0000 (18:46 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 8 Feb 2015 17:47:03 +0000 (18:47 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua

index e0e63d8631f13aa2c8329ddc8c4b7c23cc290ecb..7b213127f8db9d3f2995736b8ea57604e9bb3e88 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"))