Skip to content

Commit cde4cef

Browse files
weizhouapachedhslove
authored andcommitted
VR: fix site-2-site VPN if split connections is enabled (apache#10067)
1 parent 5636579 commit cde4cef

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
@@ -1100,7 +1100,7 @@ def configure_ipsec(self, obj):
11001100
file.addeq(" dpddelay=30")
11011101
file.addeq(" dpdtimeout=120")
11021102
file.addeq(" dpdaction=restart")
1103-
if splitconnections and peerlistarr.count > 1:
1103+
if splitconnections and len(peerlistarr) > 1:
11041104
logging.debug('Splitting connections for rightsubnets %s' % peerlistarr)
11051105
for peeridx in range(1, len(peerlistarr)):
11061106
logging.debug('Adding split connection -%d for subnet %s' % (peeridx + 1, peerlistarr[peeridx]))

0 commit comments

Comments
 (0)