mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
VR: add '-m <protocol>' for tcp or udp protocol (#6188)
This commit is contained in:
parent
66a6671e0b
commit
47454eca7d
@ -162,6 +162,7 @@ class CsAcl(CsDataBag):
|
|||||||
" -A FIREWALL_%s" % self.ip +
|
" -A FIREWALL_%s" % self.ip +
|
||||||
" -s %s " % cidr +
|
" -s %s " % cidr +
|
||||||
" -p %s " % rule['protocol'] +
|
" -p %s " % rule['protocol'] +
|
||||||
|
" -m %s " % rule['protocol'] +
|
||||||
" %s -j %s" % (rnge, self.rule['action'])])
|
" %s -j %s" % (rnge, self.rule['action'])])
|
||||||
|
|
||||||
sflag = False
|
sflag = False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user