saltstack/salt — pull request #17257 by garethgreenaway (2014-11-07 00:25:33+00:00)
Title: Fixes to iptables state

Fixing a bug that was introduced while fixing another bug related to saving the current iptables when a rule was being managed but already existed. This fixed caused the iptables.save to run *all* the time, regardless of the state of rules had changed. This fix ensures that the save only happens when the saved rules differs from those that are in memory, and only if the save option is included.