From 7f109ec59f304b7a73bf3ea5ff54f7ae54aed5b7 Mon Sep 17 00:00:00 2001 From: Aaron Goodman Date: Mon, 20 Jul 2020 10:46:17 -0400 Subject: [PATCH] openfortivpn: minor formatting changes Signed-off-by: Aaron Goodman --- net/openfortivpn/files/openfortivpn.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/openfortivpn/files/openfortivpn.sh b/net/openfortivpn/files/openfortivpn.sh index 3e6d4cd91..b50ba016a 100755 --- a/net/openfortivpn/files/openfortivpn.sh +++ b/net/openfortivpn/files/openfortivpn.sh @@ -18,7 +18,7 @@ proto_openfortivpn_init_config() { proto_config_add_string "username" proto_config_add_string "password" proto_config_add_string "trusted_cert" - proto_config_add_string "remote_status_check" + proto_config_add_string "remote_status_check" proto_config_add_int "peerdns" proto_config_add_int "metric" no_device=1 @@ -30,7 +30,7 @@ proto_openfortivpn_setup() { local msg json_get_vars host server port iface_name local_ip username password trusted_cert \ - remote_status_check peerdns metric + remote_status_check peerdns metric ifname="vpn-$config" @@ -89,7 +89,7 @@ proto_openfortivpn_setup() { [ -n "$port" ] && port=":$port" - [ -z "$peerdns" ] && peerdns=1 + [ -z "$peerdns" ] && peerdns=1 append_args "$server$port" --pppd-ifname="$ifname" --use-syslog -c /dev/null append_args "--set-dns=0"