openconnect: drop stale config: interface

It was introduced with 41f8d5465 ("openconnect: fix a couple of minor
things and add an interface option") and not needed since 4083de9d7
("openconnect: use proto_add_host_dependency")

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
Yousong Zhou
2017-05-08 13:06:10 +08:00
committed by Nikos Mavrogiannopoulos
parent 9c9571fd2c
commit 7af43217f5
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -13,7 +13,6 @@ proto_openconnect_init_config() {
proto_config_add_string "password2"
proto_config_add_string "token_mode"
proto_config_add_string "token_secret"
proto_config_add_string "interface"
proto_config_add_string "os"
proto_config_add_string "csd_wrapper"
no_device=1
@@ -23,7 +22,7 @@ proto_openconnect_init_config() {
proto_openconnect_setup() {
local config="$1"
json_get_vars server port username serverhash authgroup password password2 interface token_mode token_secret os csd_wrapper
json_get_vars server port username serverhash authgroup password password2 token_mode token_secret os csd_wrapper
grep -q tun /proc/modules || insmod tun
ifname="vpn-$config"