diff options
author | Jeff Leung <jleung@v10networks.ca> | 2015-01-28 08:26:51 +0000 |
---|---|---|
committer | Jeff Leung <jleung@v10networks.ca> | 2015-01-28 08:26:51 +0000 |
commit | 516228ffe2dfdcb8a543c3cfdd991eebb5bb0be1 (patch) | |
tree | 961efcdee30beffe40beb775c542a037af345237 /scripts/vyatta-show-ipsec-status.pl | |
parent | 6beb3ab0fc2c2480b421874864307f1c77307d6b (diff) | |
download | vyatta-op-vpn-516228ffe2dfdcb8a543c3cfdd991eebb5bb0be1.tar.gz vyatta-op-vpn-516228ffe2dfdcb8a543c3cfdd991eebb5bb0be1.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.pl | 2 |
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; |