firewalld/firewalld-0.2.12-conf.patch
Jiri Popelka 045dfa5c6a Default zone in firewalld.conf was reseted with every restart (RHBZ#902845)
- Add icon cache related scriptlets for firewall-config (RHBZ#902680)
- Fix typo in firewall-config (RHBZ#895812)
2013-01-22 17:19:10 +01:00

27 lines
817 B
Diff

From 0a9017067bd04a1370faa461ceede31316f1caaa Mon Sep 17 00:00:00 2001
From: Jiri Popelka <jpopelka@redhat.com>
Date: Tue, 22 Jan 2013 16:27:56 +0100
Subject: [PATCH 4/5] default zone in firewalld.conf was set to public with
every restart (#902845)
---
src/firewall/core/io/firewalld_conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/firewall/core/io/firewalld_conf.py b/src/firewall/core/io/firewalld_conf.py
index 159df99..911f8bf 100644
--- a/src/firewall/core/io/firewalld_conf.py
+++ b/src/firewall/core/io/firewalld_conf.py
@@ -37,7 +37,7 @@ class firewalld_conf:
self._deleted = [ ]
def get(self, key):
- self._config.get(key.strip())
+ return self._config.get(key.strip())
def set(self, key, value):
_key = key.strip()
--
1.8.1