CLOUDSTACK-8843: Fixed issue in default iptables rules on shared network VR

This commit is contained in:
Jayapal 2015-09-16 15:22:33 +05:30
parent 1525ac0791
commit a15df0569f

View File

@ -176,6 +176,8 @@ class CsNetfilters(object):
These standard firewall rules vary according to the device type
"""
type = CsCmdLine("cmdline").get_type()
if type == 'dhcpsrvr':
type = 'router'
try:
table = ''