mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Some changes for strongswan.
Still need a replacement for ipsec auto --replace
This commit is contained in:
@@ -2387,7 +2387,7 @@ EOF
|
||||
&General::readhasharray("${General::swroot}/vpn/config", \%confighash);
|
||||
$cgiparams{'CA_NAME'} = '';
|
||||
|
||||
my @status = `/usr/sbin/ipsec auto --status`;
|
||||
my @status = `/usr/local/bin/ipsecctrl I`;
|
||||
|
||||
# suggest a default name for this side
|
||||
if ($cgiparams{'VPN_IP'} eq '' && -e "${General::swroot}/red/active") {
|
||||
|
||||
Reference in New Issue
Block a user