]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix iptables comments for bare jump rules
authorKevin Benton <blak111@gmail.com>
Mon, 5 Oct 2015 15:07:56 +0000 (08:07 -0700)
committerKevin Benton <blak111@gmail.com>
Tue, 6 Oct 2015 19:24:59 +0000 (12:24 -0700)
commit2a4b5f938d038bd73a70f1fc86cc71e819e288b0
treeb3ab2c64278278935d8e62dcb1e3382727f3b61b
parentb10e3bc46fa5f5e870c84b65b672e2fb69cc2b4b
Fix iptables comments for bare jump rules

This fixes the order of arguments in iptables rules that
are bare jumps (e.g. '-j other-chain').

The previous code was only catching jump rules that appeared
after a chain definition.

Closes-Bug: #1502932
Change-Id: I490792eb08c67a32f9b286d933a776fb76840b6b
neutron/agent/linux/iptables_manager.py
neutron/tests/unit/agent/linux/test_iptables_manager.py