summaryrefslogtreecommitdiff
path: root/scripts/vyatta-show-ipsec-status.pl
diff options
context:
space:
mode:
authorJeff Leung <jleung@v10networks.ca>2015-01-28 08:26:51 +0000
committerUnicronNL <khagen@multi.eu>2016-05-11 07:55:41 +0200
commit12b2b88d03ce3527a46abc3c1e5cf9e8b8cd5238 (patch)
treef758def52d5d63eea8da28297e86352a01b38509 /scripts/vyatta-show-ipsec-status.pl
parent6ed20a24270b1b33b9a5e4595938590a8d2a76fb (diff)
downloadvyatta-op-vpn-12b2b88d03ce3527a46abc3c1e5cf9e8b8cd5238.tar.gz
vyatta-op-vpn-12b2b88d03ce3527a46abc3c1e5cf9e8b8cd5238.zip
Update pluto.pid references to charon.pid
Since pluto doesn't exist anymore in strongSwan 5.0 and later series, we are updating references from pluto* to charon*.
Diffstat (limited to 'scripts/vyatta-show-ipsec-status.pl')
-rw-r--r--scripts/vyatta-show-ipsec-status.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-ipsec-status.pl b/scripts/vyatta-show-ipsec-status.pl
index faa931e..a96d1dd 100644
--- a/scripts/vyatta-show-ipsec-status.pl
+++ b/scripts/vyatta-show-ipsec-status.pl
@@ -97,7 +97,7 @@ sub relate_intfs_with_localips {
# main
#
-my $process_id = `sudo cat /var/run/pluto.pid`;
+my $process_id = `sudo cat /var/run/charon.pid`;
my $active_tunnels = `sudo ipsec status 2>/dev/null | grep 'newest IPsec SA: #' | grep -v 'newest IPsec SA: #0' | wc -l`;
chomp $process_id;
chomp $active_tunnels;