]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
avoid changing the rule's own action
authorYong Sheng Gong <gongysh@unitedstack.com>
Thu, 17 Oct 2013 05:54:25 +0000 (13:54 +0800)
committerYong Sheng Gong <gongysh@unitedstack.com>
Thu, 17 Oct 2013 08:35:05 +0000 (16:35 +0800)
commitc8b07d52936c9cfea5784e0efca3bc86e4aba7cc
tree6b575e9babb4774fe2b8c84518a5d5c5a8d6ca0f
parent85e798decaecaefef2ed76728e268194c59a091e
avoid changing the rule's own action

fixes Bug #1240812

When iterating through the rule list, we should not change the rule itself.
So that we can use the rule data for the second router.

Change-Id: I613438507949007bec41416e7f8530693e4d5129
neutron/services/firewall/drivers/linux/iptables_fwaas.py
neutron/tests/unit/services/firewall/drivers/linux/test_iptables_fwaas.py