forked from pool/firewalld
Accepting request 1105433 from security:netfilter
OBS-URL: https://build.opensuse.org/request/show/1105433 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/firewalld?expand=0&rev=82
This commit is contained in:
commit
af6600100e
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 22 10:47:06 UTC 2023 - Mohd Saquib <mohd.saquib@suse.com>
|
||||
|
||||
- fix(cli): all --list-all-zones output identical (boo#1213609)
|
||||
[+ fix_list_all_zones_output.patch]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 24 14:20:24 UTC 2023 - Mohd Saquib <mohd.saquib@suse.com>
|
||||
|
||||
|
@ -37,6 +37,7 @@ Source0: https://github.com/firewalld/firewalld/releases/download/v%{vers
|
||||
Source1: docker-zone.xml
|
||||
Patch0: 0002-Disable-FlushAllOnReload-option.patch
|
||||
Patch1: firewalld-runstatedir.patch
|
||||
Patch2: fix_list_all_zones_output.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: desktop-file-utils
|
||||
|
22
fix_list_all_zones_output.patch
Normal file
22
fix_list_all_zones_output.patch
Normal file
@ -0,0 +1,22 @@
|
||||
commit f3cea0e8e2a290d4ce00de936d9b679fbd0e0484 f3cea0e
|
||||
Author: Eric Garver <eric@garver.life>
|
||||
Date: Mon Jul 10 15:59:42 2023 -0400
|
||||
|
||||
fix(cli): all --list-all-zones output identical
|
||||
|
||||
Fixes: #1152
|
||||
|
||||
diff --git a/src/firewall-cmd.in b/src/firewall-cmd.in
|
||||
index 062909e9..c327763f 100755
|
||||
--- a/src/firewall-cmd.in
|
||||
+++ b/src/firewall-cmd.in
|
||||
@@ -2448,7 +2448,8 @@ if a.permanent:
|
||||
names = fw.config().getZoneNames()
|
||||
for zone in sorted(names):
|
||||
interfaces = try_nm_get_interfaces_in_zone(zone)
|
||||
- cmd.print_zone_info(zone, settings, extra_interfaces=interfaces)
|
||||
+ cmd.print_zone_info(zone, fw.config().getZoneByName(zone).getSettings(),
|
||||
+ extra_interfaces=interfaces)
|
||||
cmd.print_msg("")
|
||||
sys.exit(0)
|
||||
|
Loading…
Reference in New Issue
Block a user