openfortivpn: block restart after authentication failure
authorAaron Goodman <aaronjg@stanford.edu>
Mon, 20 Jul 2020 14:43:32 +0000 (10:43 -0400)
committerAaron Goodman <aaronjg@stanford.edu>
Wed, 29 Jul 2020 03:06:09 +0000 (23:06 -0400)
commit2f9cfb036f219df589c20ad9271e15c92722390b
tree7d3177f35eed21e72ae3728d8a2fb8adaeb26ce0
parentd134b7ffbb9ddf194b12ca5c9c92b98d91c4c7e6
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>
net/openfortivpn/files/openfortivpn-wrapper
net/openfortivpn/files/openfortivpn.sh