Blame SOURCES/firewalld-0.4.4.4-fix_offline_remove_service_from_zone_rhbz#1438127.patch
|
|
843f86 |
commit d3fee3a3b923339fb45d23f60ee0170a5ca25957
|
|
|
843f86 |
Author: Thomas Woerner <twoerner@redhat.com>
|
|
|
843f86 |
Date: Mon Apr 3 15:06:36 2017 +0200
|
|
|
843f86 |
|
|
|
843f86 |
firewall-offline-cmd: Fix --remove-service-from-zone option RHBZ#1438127
|
|
|
843f86 |
|
|
|
843f86 |
The wrong option name has been used internally which resulted in the NoneType
|
|
|
843f86 |
object is not iterable error.
|
|
|
843f86 |
|
|
|
843f86 |
diff --git a/src/firewall-offline-cmd b/src/firewall-offline-cmd
|
|
|
843f86 |
index b229f39..b1e8a6c 100755
|
|
|
843f86 |
--- a/src/firewall-offline-cmd
|
|
|
843f86 |
+++ b/src/firewall-offline-cmd
|
|
|
843f86 |
@@ -2076,7 +2076,8 @@ try:
|
|
|
843f86 |
cmd.add_sequence(a.add_service, fw_settings.addService,
|
|
|
843f86 |
fw_settings.queryService, None, "'%s'")
|
|
|
843f86 |
elif a.remove_service_from_zone:
|
|
|
843f86 |
- cmd.remove_sequence(a.remove_service, fw_settings.removeService,
|
|
|
843f86 |
+ cmd.remove_sequence(a.remove_service_from_zone,
|
|
|
843f86 |
+ fw_settings.removeService,
|
|
|
843f86 |
fw_settings.queryService, None, "'%s'")
|
|
|
843f86 |
elif a.query_service:
|
|
|
843f86 |
cmd.query_sequence(a.query_service, fw_settings.queryService,
|