summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-02-23 03:59:49 -0500
committerKim Hagen <kim.sidney@gmail.com>2016-02-23 03:59:49 -0500
commite6bde39b75eca1f4b30b7d4fa3c6eb9dd0100775 (patch)
tree71c265a6955c1058d2ed7e4d5fdf2e1bfc0a97f9
parent38ddb04edcf5d9a87edd7047ff3f2bce9bf0ba24 (diff)
downloadvyatta-cfg-vpn-e6bde39b75eca1f4b30b7d4fa3c6eb9dd0100775.tar.gz
vyatta-cfg-vpn-e6bde39b75eca1f4b30b7d4fa3c6eb9dd0100775.zip
Update vpn check file from "charon.ctl" to "charon.pid".
-rwxr-xr-xlib/Vyatta/VPN/Util.pm2
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 {