followup: do not replace original variable content
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 7 May 2019 09:52:58 +0000 (09:52 +0000)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 7 May 2019 09:58:56 +0000 (09:58 +0000)
commit255698f65192e736708f123d380bbed2aa8c3eac
tree14e87dbe277e94a4e192b91629ed8dad6fa82c73
parenta9068b2d3b8ca6eceee13424598e12c01840c8d9
followup: do not replace original variable content

this could be confusing, if someone adds code which uses $net->{ip}
it may work for the case were ipfilter is off but not else (which may
not get tested), so keep the original $net intact and copy the scalar
value..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Firewall.pm