Skip to content

Commit

Permalink
Merge pull request #2993 from sarthurdev/T5981
Browse files Browse the repository at this point in the history
ipsec: T5981: Strip '@' from migrated peer PKI name
  • Loading branch information
c-po committed Feb 12, 2024
2 parents 69a0fa7 + 8238f8c commit fe91476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migration-scripts/ipsec/6-to-7
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if config.exists(ipsec_site_base):
changes_made = True

peer_x509_base = ipsec_site_base + [peer, 'authentication', 'x509']
pki_name = 'peer_' + peer.replace(".", "-")
pki_name = 'peer_' + peer.replace(".", "-").replace("@", "")

if config.exists(peer_x509_base + ['cert-file']):
cert_file = config.return_value(peer_x509_base + ['cert-file'])
Expand Down

0 comments on commit fe91476

Please sign in to comment.