mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Partially revert 019ee2bc8c, this workaround is not necessary. Real fix will be committed after this
This commit is contained in:
parent
019ee2bc8c
commit
d30038e079
@ -647,14 +647,6 @@ EOD;
|
||||
|
||||
if (!empty($ph1ent['pre-shared-key'])) {
|
||||
$pskconf .= "{$myid} {$peerid} : PSK 0s" . base64_encode(trim($ph1ent['pre-shared-key'])) . "\n";
|
||||
|
||||
/*
|
||||
* XXX: Remove after following strongswan issue is fixed:
|
||||
*https://wiki.strongswan.org/issues/1004
|
||||
*/
|
||||
if ($peerid_type == 'address' && is_fqdn($ph1ent['remote-gateway'])) {
|
||||
$pskconf .= "{$myid} @{$ph1ent['remote-gateway']} : PSK 0s" . base64_encode(trim($ph1ent['pre-shared-key'])) . "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user