You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by nv...@apache.org on 2022/04/06 03:16:19 UTC
[cloudstack] branch 4.16 updated: VR: add '-m ' for tcp or udp protocol (#6188)
This is an automated email from the ASF dual-hosted git repository.
nvazquez pushed a commit to branch 4.16
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.16 by this push:
new 47454eca7d VR: add '-m <protocol>' for tcp or udp protocol (#6188)
47454eca7d is described below
commit 47454eca7dc79fb197dc5c2bb230d0ca14a58934
Author: Wei Zhou <we...@apache.org>
AuthorDate: Wed Apr 6 05:16:12 2022 +0200
VR: add '-m <protocol>' for tcp or udp protocol (#6188)
---
systemvm/debian/opt/cloud/bin/configure.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/systemvm/debian/opt/cloud/bin/configure.py b/systemvm/debian/opt/cloud/bin/configure.py
index 53e9452d0b..940a3b2e74 100755
--- a/systemvm/debian/opt/cloud/bin/configure.py
+++ b/systemvm/debian/opt/cloud/bin/configure.py
@@ -162,6 +162,7 @@ class CsAcl(CsDataBag):
" -A FIREWALL_%s" % self.ip +
" -s %s " % cidr +
" -p %s " % rule['protocol'] +
+ " -m %s " % rule['protocol'] +
" %s -j %s" % (rnge, self.rule['action'])])
sflag = False