]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
fix parsing of '! --hex-string' from iptables-save
authorMark Nejedlo <Mark.Nejedlo@tdstelecom.com>
Fri, 5 Jun 2020 15:22:44 +0000 (10:22 -0500)
committeradrianiurca <adrian.iurca@gmail.com>
Thu, 16 Jul 2020 09:21:37 +0000 (12:21 +0300)
commit69415a97da7ae591be2a080537a10ce1232ea2a9
tree30374bb6c950dc5c29fd956d57640d7ccd9a7b06
parent6b6c2ab36ebaeac76dfbb95cce514084b760b1c9
fix parsing of '! --hex-string' from iptables-save

iptables-save outputs the value of --hex-string inside quotes, which was
causing quotes inside quotes problems with the value.  This change adds
a special case parser for --hex-string to get the ! inside the quotes
and eliminate the doubled quotation marks
lib/puppet/provider/firewall/iptables.rb