mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 10:22:59 +02:00
IPsec: Apple: Enable PFS on client when enabled
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1257,6 +1257,13 @@ END
|
||||
print " <key>RemoteAddress</key>\n";
|
||||
print " <string>$endpoint</string>\n";
|
||||
|
||||
# PFS
|
||||
my $pfs = $confighash{$key}[28];
|
||||
if ($pfs eq "on") {
|
||||
print " <key>EnablePFS</key>\n";
|
||||
print " <true/>\n";
|
||||
}
|
||||
|
||||
# Left ID
|
||||
if ($confighash{$key}[9]) {
|
||||
print " <key>LocalIdentifier</key>\n";
|
||||
|
||||
Reference in New Issue
Block a user