]> git.proxmox.com Git - pve-firewall.git/commit
fix reading host.fw through IPCC interface
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Apr 2019 04:51:38 +0000 (04:51 +0000)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Apr 2019 04:51:42 +0000 (04:51 +0000)
commitc1f1728736e3e75d11d646ad385a0334934401c2
treebe4ec03159a402e4be1dada1f2d10ffd8aa34338
parent98bd53b6dc624a8d98e5e54bdf6c8d278a3c8e32
fix reading host.fw through IPCC interface

IPCC has no knowledge about FUSE based links, but we used
'local/host.fw' here, where local is always a link to
'nodes/<LOCAL-NODENAME>/', this works only when using the common file
system interface provided by FUSE, but not if we're talking directly
with our memdb file store through IPCC..

So use a nodename based path here, to avoid getting just empty
strings for host.fw.

fixes commit 0dbef53046fade02efec143d3b7a0f4f9021b618

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