[PATCH] firewall-cmd: fix bug in --list=service
Jiri Popelka
jpopelka at redhat.com
Tue Feb 28 14:41:14 UTC 2012
---
src/firewall-cmd | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/firewall-cmd b/src/firewall-cmd
index 7e8bf21..e60d6c3 100755
--- a/src/firewall-cmd
+++ b/src/firewall-cmd
@@ -247,7 +247,7 @@ try:
# service
elif action == "service":
if mode == "list":
- l = z.getServices(zone)
+ l = fw.getServices(zone)
if len(l) > 0:
print(", ".join(l))
elif mode == "add":
--
1.7.7.6
More information about the firewalld-devel
mailing list