We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5636579 commit cde4cefCopy full SHA for cde4cef
systemvm/debian/opt/cloud/bin/configure.py
@@ -1100,7 +1100,7 @@ def configure_ipsec(self, obj):
1100
file.addeq(" dpddelay=30")
1101
file.addeq(" dpdtimeout=120")
1102
file.addeq(" dpdaction=restart")
1103
- if splitconnections and peerlistarr.count > 1:
+ if splitconnections and len(peerlistarr) > 1:
1104
logging.debug('Splitting connections for rightsubnets %s' % peerlistarr)
1105
for peeridx in range(1, len(peerlistarr)):
1106
logging.debug('Adding split connection -%d for subnet %s' % (peeridx + 1, peerlistarr[peeridx]))
0 commit comments