mirror of https://github.com/apache/cloudstack.git
VR: add '-m <protocol>' for tcp or udp protocol (#6188)
(cherry picked from commit 47454eca7d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
3f755b21dc
commit
7398915517
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue