mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 20:16:49 +02:00
vpnmain.cgi: Fix indentation on Apple profiles
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1259,27 +1259,27 @@ END
|
||||
|
||||
# Left ID
|
||||
if ($confighash{$key}[9]) {
|
||||
print " <key>LocalIdentifier</key>\n";
|
||||
print " <string>$confighash{$key}[9]</string>\n";
|
||||
print " <key>LocalIdentifier</key>\n";
|
||||
print " <string>$confighash{$key}[9]</string>\n";
|
||||
}
|
||||
|
||||
# Right ID
|
||||
if ($confighash{$key}[7]) {
|
||||
print " <key>RemoteIdentifier</key>\n";
|
||||
print " <string>$confighash{$key}[7]</string>\n";
|
||||
print " <key>RemoteIdentifier</key>\n";
|
||||
print " <string>$confighash{$key}[7]</string>\n";
|
||||
}
|
||||
|
||||
if ($confighash{$key}[4] eq "cert") {
|
||||
print " <key>AuthenticationMethod</key>\n";
|
||||
print " <string>Certificate</string>\n";
|
||||
print " <key>AuthenticationMethod</key>\n";
|
||||
print " <string>Certificate</string>\n";
|
||||
|
||||
print " <key>PayloadCertificateUUID</key>\n";
|
||||
print " <string>${cert_uuid}</string>\n";
|
||||
print " <key>PayloadCertificateUUID</key>\n";
|
||||
print " <string>${cert_uuid}</string>\n";
|
||||
} else {
|
||||
print " <key>AuthenticationMethod</key>\n";
|
||||
print " <string>SharedSecret</string>\n";
|
||||
print " <key>SharedSecret</key>\n";
|
||||
print " <string>$confighash{$key}[5]</string>\n";
|
||||
print " <key>AuthenticationMethod</key>\n";
|
||||
print " <string>SharedSecret</string>\n";
|
||||
print " <key>SharedSecret</key>\n";
|
||||
print " <string>$confighash{$key}[5]</string>\n";
|
||||
}
|
||||
|
||||
print " <key>ExtendedAuthEnabled</key>\n";
|
||||
|
||||
Reference in New Issue
Block a user