]> git.proxmox.com Git - pve-firewall.git/commit
parser: fix scoped alias resolution
authorLeo Nunner <l.nunner@proxmox.com>
Tue, 11 Jul 2023 09:41:15 +0000 (11:41 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 17 Jul 2023 08:35:51 +0000 (10:35 +0200)
commit1f0303f82a7d661024a374ab2cf195835390b738
treec68e50bfba6629b6ce6561c1260a1931eb9cc709
parent0d28aa2abcf2d453504049388b71d27a7ba3259b
parser: fix scoped alias resolution

We tried to resolve aliases in some places where the cluster
configuration didn't get set. It's probably better to handle these cases
directly in the function at hand, instead of at every place where this
issues might arise.

This seemingly fixes the issues reported on pve-user and the forum:
  * https://forum.proxmox.com/threads/pve-8-pve-firewall-status-no-such-alias.130202/
  * https://forum.proxmox.com/threads/ipset-not-working-for-accepting-cluster-traffic.129599/

Signed-off-by: Leo Nunner <l.nunner@proxmox.com>
src/PVE/API2/Firewall/IPSet.pm
src/PVE/Firewall.pm