Blame SOURCES/0004-fw_zone-fix-rich-rule-masquerading.patch

24f428
From c2340c41711817d7ace4a85aad62e9d80936cb31 Mon Sep 17 00:00:00 2001
24f428
From: Eric Garver <e@erig.me>
24f428
Date: Wed, 5 Dec 2018 13:09:28 -0500
24f428
Subject: [PATCH 04/23] fw_zone: fix rich rule masquerading
24f428
24f428
We weren't passing the rich rule to the backend so filtering on
24f428
source/destination would not work.
24f428
24f428
(cherry picked from commit 14acf26afe09ff9092bebbfc7ffe718b1758c573)
24f428
---
24f428
 src/firewall/core/fw_zone.py | 2 +-
24f428
 1 file changed, 1 insertion(+), 1 deletion(-)
24f428
24f428
diff --git a/src/firewall/core/fw_zone.py b/src/firewall/core/fw_zone.py
24f428
index ca90f7fba0d4..816fa50340b3 100644
24f428
--- a/src/firewall/core/fw_zone.py
24f428
+++ b/src/firewall/core/fw_zone.py
24f428
@@ -1690,7 +1690,7 @@ class FirewallZone(object):
24f428
                         if backend.is_ipv_supported(ipv):
24f428
                             zone_transaction.add_post(enable_ip_forwarding, ipv)
24f428
 
24f428
-                rules = backend.build_zone_masquerade_rules(enable, zone)
24f428
+                rules = backend.build_zone_masquerade_rules(enable, zone, rule)
24f428
                 zone_transaction.add_rules(backend, rules)
24f428
 
24f428
             # FORWARD PORT
24f428
-- 
24f428
2.20.1
24f428