Blame SOURCES/firewalld-0.3.9-RHBZ#1057628_c01ec3db.patch
|
|
36ae71 |
commit c01ec3dba00cb6f780f240a5afba4b9a61798317
|
|
|
36ae71 |
Author: Thomas Woerner <twoerner@redhat.com>
|
|
|
36ae71 |
Date: Thu Jan 23 11:47:02 2014 +0100
|
|
|
36ae71 |
|
|
|
36ae71 |
Fixed persistent port forwarding (RHBZ#1056154)
|
|
|
36ae71 |
|
|
|
36ae71 |
diff --git a/src/firewall/core/fw_zone.py b/src/firewall/core/fw_zone.py
|
|
|
36ae71 |
index fc1c418..0822949 100644
|
|
|
36ae71 |
--- a/src/firewall/core/fw_zone.py
|
|
|
36ae71 |
+++ b/src/firewall/core/fw_zone.py
|
|
|
36ae71 |
@@ -334,7 +334,8 @@ class FirewallZone:
|
|
|
36ae71 |
if key == "icmp_blocks":
|
|
|
36ae71 |
self.__icmp_block(enable, zone, args)
|
|
|
36ae71 |
elif key == "forward_ports":
|
|
|
36ae71 |
- self.__forward_port(enable, zone, *args)
|
|
|
36ae71 |
+ mark = obj.settings["forward_ports"][args]["mark"]
|
|
|
36ae71 |
+ self.__forward_port(enable, zone, *args, mark_id=mark)
|
|
|
36ae71 |
elif key == "services":
|
|
|
36ae71 |
self.__service(enable, zone, args)
|
|
|
36ae71 |
elif key == "ports":
|