[12/16] IPsec: Set display name for VPN connections

Message ID 20200528175850.12638-13-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 | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi
index 85c4584e1..9353a2f0d 100644
--- a/html/cgi-bin/vpnmain.cgi
+++ b/html/cgi-bin/vpnmain.cgi
@@ -1428,6 +1428,8 @@  END
 		print "			<dict>\n";
 		print "				<key>PayloadIdentifier</key>\n";
 		print "				<string>org.example.vpn1.client</string>\n";
+		print "				<key>PayloadDisplayName</key>\n";
+		print "				<string>$confighash{$key}[1]</string>\n";
 		print "				<key>PayloadUUID</key>\n";
 		print "				<string>${cert_uuid}</string>\n";
 		print "				<key>PayloadType</key>\n";