summaryrefslogtreecommitdiff
path: root/scripts/vyatta-show-ipsec-status.pl
diff options
context:
space:
mode:
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;