luci-proto-openconnect: remove "interface" field
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 19 Jun 2017 03:22:28 +0000 (11:22 +0800)
committerHannu Nyman <hannu.nyman@iki.fi>
Mon, 19 Jun 2017 14:48:56 +0000 (17:48 +0300)
It's not needed anymore and removed in the openconnect package

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit dfd082c53bfb607b0c78973095ab49f831b7e1ac)

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

index a602a4c66d97f408ca6223a1af659347fd91779a..5adfccae4893dd7ce9680aa7e25e78ef26b6c821 100644 (file)
@@ -19,8 +19,6 @@ 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"
 
 defaultroute = section:taboption("advanced", Flag, "defaultroute",
        translate("Use default gateway"),