Skip to content

Commit

Permalink
Merge pull request #42 from erkin/current
Browse files Browse the repository at this point in the history
IPsec: T627: Fix misuse of `vpn_die()`
  • Loading branch information
dmbaturin authored Feb 3, 2021
2 parents 6497cdb + 221a762 commit dd6419e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/dmvpn-config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@
$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");
}
}
}
Expand All @@ -522,7 +522,7 @@
$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");
}
}
}
Expand Down

0 comments on commit dd6419e

Please sign in to comment.