openfortivpn: minor formatting changes
authorAaron Goodman <aaronjg@stanford.edu>
Mon, 20 Jul 2020 14:46:17 +0000 (10:46 -0400)
committerAaron Goodman <aaronjg@stanford.edu>
Wed, 29 Jul 2020 03:06:09 +0000 (23:06 -0400)
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
net/openfortivpn/files/openfortivpn.sh

index 3e6d4cd916b0b9ba4bf44d74d57f5798b859b3b6..b50ba016a45a9e6e91cd8893fed0775887cd21e2 100755 (executable)
@@ -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"