[06/16] vpnmain.cgi: Fix indentation on Apple profiles

Message ID 20200528175850.12638-7-michael.tremer@ipfire.org
State New
Headers show
Series
  • [01/16] IPsec: Use sane defaults for certificate lifetimes
Related show

Commit Message

Michael Tremer May 28, 2020, 5:58 p.m. UTC
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 html/cgi-bin/vpnmain.cgi | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Patch

diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi
index 61efcc72c..f5b1186a8 100644
--- a/html/cgi-bin/vpnmain.cgi
+++ b/html/cgi-bin/vpnmain.cgi
@@ -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";