From 75eda38b6b84563ca833e852560a230acf8ddd0c Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Fri, 27 Dec 2024 10:38:46 +0100 Subject: [PATCH 1/2] UI: fix cannot open 'Edit tags' modal for static routes (#10065) --- ui/src/views/network/StaticRoutesTab.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/src/views/network/StaticRoutesTab.vue b/ui/src/views/network/StaticRoutesTab.vue index 0c960244902..9265f30fac1 100644 --- a/ui/src/views/network/StaticRoutesTab.vue +++ b/ui/src/views/network/StaticRoutesTab.vue @@ -304,7 +304,6 @@ export default { }, openTagsModal (route) { this.selectedRule = route - this.rulesRef.value.resetFields() this.fetchTags(this.selectedRule) this.tagsModalVisible = true } From 5c01cff3043f9c1adee3b59a797702aa18ca26c8 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Sat, 28 Dec 2024 12:09:36 +0100 Subject: [PATCH 2/2] VR: fix site-2-site VPN if split connections is enabled (#10067) --- systemvm/debian/opt/cloud/bin/configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemvm/debian/opt/cloud/bin/configure.py b/systemvm/debian/opt/cloud/bin/configure.py index c75df98754f..c727f453320 100755 --- a/systemvm/debian/opt/cloud/bin/configure.py +++ b/systemvm/debian/opt/cloud/bin/configure.py @@ -850,7 +850,7 @@ class CsSite2SiteVpn(CsDataBag): file.addeq(" dpddelay=30") file.addeq(" dpdtimeout=120") file.addeq(" dpdaction=restart") - if splitconnections and peerlistarr.count > 1: + if splitconnections and len(peerlistarr) > 1: logging.debug('Splitting connections for rightsubnets %s' % peerlistarr) for peeridx in range(1, len(peerlistarr)): logging.debug('Adding split connection -%d for subnet %s' % (peeridx + 1, peerlistarr[peeridx]))