mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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.
This commit is contained in:
parent
fc285e23f3
commit
989a46850e
@ -742,7 +742,7 @@ class CsRemoteAccessVpn(CsDataBag):
|
||||
|
||||
secret = CsFile(vpnsecretfilte)
|
||||
secret.empty()
|
||||
secret.addeq("%s %%any : PSK \"%s\"" % (left, psk))
|
||||
secret.addeq("%s : PSK \"%s\"" % (left, psk))
|
||||
secret.commit()
|
||||
|
||||
xl2tpdconf = CsFile(xl2tpdconffile)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user