mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
openfortivpn: block restart after authentication failure
Block restart of the interface if the openfortivpn fails to authenticate. Without this check, with a bad password, netifd will continually hit the VPN endpoint with connection attempts Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
This commit is contained in:
@@ -137,7 +137,7 @@ mru 1354" > $callfile
|
||||
proto_export INTERFACE="$ifname"
|
||||
logger -p 6 -t openfortivpn "$config: executing 'openfortivpn $cmdline'"
|
||||
|
||||
eval "proto_run_command '$config' /usr/sbin/openfortivpn-wrapper '$pwfile' $cmdline"
|
||||
eval "proto_run_command '$config' /usr/sbin/openfortivpn-wrapper '$pwfile' '$config' $cmdline"
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user