Blame SOURCES/firewalld-0.3.9-RHBZ#1054289_91e32f1c.patch

36ae71
commit 91e32f1ca76956c20a32600a24a89889e58745dc
36ae71
Author: Thomas Woerner <twoerner@redhat.com>
36ae71
Date:   Thu Jan 16 14:42:27 2014 +0100
36ae71
36ae71
    firewall-config: Do not use sepcial chars, this might break the UI
36ae71
36ae71
diff --git a/src/firewall-config b/src/firewall-config
36ae71
index 381a738..4d7efa6 100755
36ae71
--- a/src/firewall-config
36ae71
+++ b/src/firewall-config
36ae71
@@ -2188,7 +2188,7 @@ class FirewallConfig(object):
36ae71
                                      _("forward-port"))
36ae71
                 s = "%s/%s" % (old_obj.element.port, old_obj.element.protocol)
36ae71
                 if old_obj.element.to_port != "":
36ae71
-                    s += " ➙%s" % old_obj.element.to_port
36ae71
+                    s += " >%s" % old_obj.element.to_port
36ae71
                 if old_obj.element.to_address != "":
36ae71
                     s += " @%s" % old_obj.element.to_address
36ae71
                 self.richRuleDialogElementChooser.set_text(s)
36ae71
@@ -2536,7 +2536,7 @@ class FirewallConfig(object):
36ae71
     def create_fwp_string(self, port, proto, to_port, to_addr):
36ae71
         _to_port = ""
36ae71
         if to_port != "":
36ae71
-            _to_port = " ➙%s" % to_port
36ae71
+            _to_port = " >%s" % to_port
36ae71
         _to_addr = ""
36ae71
         if to_addr != "":
36ae71
             _to_addr = " @%s" % to_addr
36ae71
@@ -2547,8 +2547,8 @@ class FirewallConfig(object):
36ae71
         proto = ""
36ae71
         to_port = ""
36ae71
         to_addr = ""
36ae71
-        if "➙" in text: # to_port
36ae71
-            splits = text.split("➙")
36ae71
+        if ">" in text: # to_port
36ae71
+            splits = text.split(">")
36ae71
             (port,proto) = splits[0].split("/")
36ae71
             if "@" in splits[1]:
36ae71
                 (to_port,to_addr) = splits[1].split("@")