Blob Blame History Raw
commit c01ec3dba00cb6f780f240a5afba4b9a61798317
Author: Thomas Woerner <twoerner@redhat.com>
Date:   Thu Jan 23 11:47:02 2014 +0100

    Fixed persistent port forwarding (RHBZ#1056154)

diff --git a/src/firewall/core/fw_zone.py b/src/firewall/core/fw_zone.py
index fc1c418..0822949 100644
--- a/src/firewall/core/fw_zone.py
+++ b/src/firewall/core/fw_zone.py
@@ -334,7 +334,8 @@ class FirewallZone:
                     if key == "icmp_blocks":
                         self.__icmp_block(enable, zone, args)
                     elif key == "forward_ports":
-                        self.__forward_port(enable, zone, *args)
+                        mark = obj.settings["forward_ports"][args]["mark"]
+                        self.__forward_port(enable, zone, *args, mark_id=mark)
                     elif key == "services":
                         self.__service(enable, zone, args)
                     elif key == "ports":