iptables: fix copying extensions
Merge pull request #1889 from vpeter4/iptables

iptables: fix copying extensions