Skip to content

Commit 5c01cff

Browse files
VR: fix site-2-site VPN if split connections is enabled (#10067)
1 parent 75eda38 commit 5c01cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ def configure_ipsec(self, obj):
850850
file.addeq(" dpddelay=30")
851851
file.addeq(" dpdtimeout=120")
852852
file.addeq(" dpdaction=restart")
853-
if splitconnections and peerlistarr.count > 1:
853+
if splitconnections and len(peerlistarr) > 1:
854854
logging.debug('Splitting connections for rightsubnets %s' % peerlistarr)
855855
for peeridx in range(1, len(peerlistarr)):
856856
logging.debug('Adding split connection -%d for subnet %s' % (peeridx + 1, peerlistarr[peeridx]))

0 commit comments

Comments
 (0)