Skip to content

Commit

Permalink
Merge pull request #1038 from Luap99/f41-nftables
Browse files Browse the repository at this point in the history
rpm: use nftables as default for f41
  • Loading branch information
openshift-merge-bot[bot] authored Jul 30, 2024
2 parents fd1ae9f + 097c32f commit 4c10609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpm/netavark.spec
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
# Minimum X.Y dep for aardvark-dns
%define major_minor %((v=%{version}; echo ${v%.*}))

# Set default firewall to nftables on CentOS Stream 10+, RHEL 10+
# Set default firewall to nftables on CentOS Stream 10+, RHEL 10+, Fedora 41+
# and default to iptables on all other environments
# The `rhel` macro is defined on CentOS Stream, RHEL as well as Fedora ELN.
%if %{defined rhel} && 0%{?rhel} >= 10
%if (%{defined rhel} && 0%{?rhel} >= 10) || (%{defined fedora} && 0%{?fedora} >= 41)
%define default_fw nftables
%else
%define default_fw iptables
Expand Down

0 comments on commit 4c10609

Please sign in to comment.