rtkwlf / cookbook-simple-iptables

Simple Chef iptables cookbook
86 stars 63 forks source link

Fix ipv6 support when using ip-version :both #76

Closed chantra closed 8 years ago

chantra commented 8 years ago

a ||= b is equivalent to a = a || b in ff467b78163d759e3b793ee812c2e1ef9b653744 support for ipv6 support got broken because updated was true after evaluating the ipv4 block. This caused handle_{policy,rule} to never be evaluated for ipv6.

Fixes #75

Tested with kitchen converge ipv6-list-of-tables-centos-65

rtkrruvinskiy commented 8 years ago

Thanks for the fix!

rtkrruvinskiy commented 8 years ago

I've released 0.7.3, which includes this fix.

chantra commented 8 years ago

Tks Ray