27 lines
817 B
Diff
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
|
||
|
|