]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: remove firewalld version check from networkSetBridgeZone()
authorLaine Stump <laine@redhat.com>
Thu, 5 Sep 2024 15:56:10 +0000 (11:56 -0400)
committerLaine Stump <laine@redhat.com>
Tue, 17 Sep 2024 14:55:14 +0000 (10:55 -0400)
commit1a3778fe0a5ad7bc00a0d60d6aa708fb89fabd2a
treeb1c6923c7131efb748208e607d0557ab1f3da6a9
parent1a72b83d566df952033529001b0f88a66d7f4393
network: remove firewalld version check from networkSetBridgeZone()

At the time the version check in this function was written, there were
still several supported versions of some distros that were using a
version of firewalld too old to support the "rich rule priorities"
used by the 'libvirt' zone that we installed for firewalld. Today the
newest distro that has a version of firewalld < 0.7.0 is
RHEL7/CentOS7, so we can remove the complexity and if the libvirt zone
is missing simply say "the libvirt zone is missing".

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/network/bridge_driver_linux.c