Skip to content

Commit 47454ec

Browse files
VR: add '-m <protocol>' for tcp or udp protocol (apache#6188)
1 parent 66a6671 commit 47454ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

systemvm/debian/opt/cloud/bin/configure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ def add_rule(self):
162162
" -A FIREWALL_%s" % self.ip +
163163
" -s %s " % cidr +
164164
" -p %s " % rule['protocol'] +
165+
" -m %s " % rule['protocol'] +
165166
" %s -j %s" % (rnge, self.rule['action'])])
166167

167168
sflag = False

0 commit comments

Comments
 (0)