diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-02-23 03:59:49 -0500 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-02-23 03:59:49 -0500 |
commit | e6bde39b75eca1f4b30b7d4fa3c6eb9dd0100775 (patch) | |
tree | 71c265a6955c1058d2ed7e4d5fdf2e1bfc0a97f9 /lib/Vyatta | |
parent | 38ddb04edcf5d9a87edd7047ff3f2bce9bf0ba24 (diff) | |
download | vyatta-cfg-vpn-e6bde39b75eca1f4b30b7d4fa3c6eb9dd0100775.tar.gz vyatta-cfg-vpn-e6bde39b75eca1f4b30b7d4fa3c6eb9dd0100775.zip |
Update vpn check file from "charon.ctl" to "charon.pid".
Diffstat (limited to 'lib/Vyatta')
-rwxr-xr-x | lib/Vyatta/VPN/Util.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/VPN/Util.pm b/lib/Vyatta/VPN/Util.pm index 606178a..315651e 100755 --- a/lib/Vyatta/VPN/Util.pm +++ b/lib/Vyatta/VPN/Util.pm @@ -41,7 +41,7 @@ use constant LOCAL_KEY_FILE_DEFAULT => '/opt/vyatta/etc/config/ipsec.d/rsa-keys/localhost.key'; sub is_vpn_running { - return ( -e '/var/run/charon.ctl'); + return ( -e '/var/run/charon.pid'); } sub get_protocols { |