summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/dmvpn-config.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dmvpn-config.pl b/scripts/dmvpn-config.pl
index 5562a7c..8d182c9 100755
--- a/scripts/dmvpn-config.pl
+++ b/scripts/dmvpn-config.pl
@@ -505,7 +505,7 @@ else {
$counter--;
sleep(1);
if($counter == 0){
- vpn_die("$vpn_cfg_err Ipsec is not running.");
+ vpn_die(["vpn", "ipsec"], "$vpn_cfg_err IPsec is not running.\n");
}
}
}
@@ -522,7 +522,7 @@ else {
$counter--;
sleep(1);
if($counter == 0){
- vpn_die("$vpn_cfg_err Ipsec is not running.");
+ vpn_die(["vpn", "ipsec"], "$vpn_cfg_err IPsec is not running.\n");
}
}
}