Skip to content

Commit 989a468

Browse files
vr: ipsec/l2tp vpn secret with no ID selectors (#5375)
according to https://wiki.strongswan.org/projects/strongswan/wiki/Ipsecsecrets , the ID selector is optional.
1 parent fc285e2 commit 989a468

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

systemvm/debian/opt/cloud/bin/configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ def configure_l2tpIpsec(self, left, obj):
742742

743743
secret = CsFile(vpnsecretfilte)
744744
secret.empty()
745-
secret.addeq("%s %%any : PSK \"%s\"" % (left, psk))
745+
secret.addeq("%s : PSK \"%s\"" % (left, psk))
746746
secret.commit()
747747

748748
xl2tpdconf = CsFile(xl2tpdconffile)

0 commit comments

Comments
 (0)