firewalld/firewalld-0.4.1.2-ebtables_no_COMMIT.patch

19 lines
654 B
Diff

commit 7dd6f72f26515d9b0ebab0c95628470a1caa8df8
Author: Thomas Woerner <twoerner@redhat.com>
Date: Mon May 9 15:18:40 2016 +0200
firewall.core.ebtables: ebtables-restore does not support the COMMIT command
diff --git a/src/firewall/core/ebtables.py b/src/firewall/core/ebtables.py
index aef40e1..72886f4 100644
--- a/src/firewall/core/ebtables.py
+++ b/src/firewall/core/ebtables.py
@@ -127,7 +127,6 @@ class ebtables(object):
temp_file.write("*%s\n" % table)
for rule in table_rules[table]:
temp_file.write(" ".join(rule) + "\n")
- temp_file.write("COMMIT\n")
temp_file.close()