Blame SOURCES/0056-Change-interface-can-accept-permanent-option.patch

c8bceb
From 084d390730a0007da369a1a1b25265e6da624446 Mon Sep 17 00:00:00 2001
c8bceb
From: Ondrej Holecek <oholecek@suse.com>
c8bceb
Date: Mon, 29 Apr 2019 17:26:25 +0200
c8bceb
Subject: [PATCH 56/73] Change-interface can accept permanent option
c8bceb
c8bceb
(cherry picked from commit 2f0293141e2e1468fa1fe8a0293905595a06587c)
c8bceb
(cherry picked from commit 3d211246d85afd230cda41c08c6fa27acc4a8c04)
c8bceb
---
c8bceb
 doc/xml/firewall-cmd.xml.in | 2 +-
c8bceb
 src/firewall-cmd.in         | 2 +-
c8bceb
 2 files changed, 2 insertions(+), 2 deletions(-)
c8bceb
c8bceb
diff --git a/doc/xml/firewall-cmd.xml.in b/doc/xml/firewall-cmd.xml.in
c8bceb
index 5f25661b4a0e..cd4aa47addb2 100644
c8bceb
--- a/doc/xml/firewall-cmd.xml.in
c8bceb
+++ b/doc/xml/firewall-cmd.xml.in
c8bceb
@@ -935,7 +935,7 @@ For interfaces that are not under control of NetworkManager, firewalld tries to
c8bceb
 	</varlistentry>
c8bceb
 
c8bceb
 	<varlistentry>
c8bceb
-	  <term><optional><option>--zone</option>=<replaceable>zone</replaceable></optional> <option>--change-interface</option>=<replaceable>interface</replaceable></term>
c8bceb
+	  <term><optional><option>--permanent</option></optional> <optional><option>--zone</option>=<replaceable>zone</replaceable></optional> <option>--change-interface</option>=<replaceable>interface</replaceable></term>
c8bceb
 	  <listitem>
c8bceb
 	    <para>
c8bceb
 	      If the interface is under control of NetworkManager, it is at first connected to change the zone for the connection that is using the interface. If this fails, the zone binding is created in firewalld and the limitations below apply.
c8bceb
diff --git a/src/firewall-cmd.in b/src/firewall-cmd.in
c8bceb
index d44f00a67a93..2aed703103d3 100755
c8bceb
--- a/src/firewall-cmd.in
c8bceb
+++ b/src/firewall-cmd.in
c8bceb
@@ -309,7 +309,7 @@ Options to Handle Bindings of Interfaces
c8bceb
   --add-interface=<interface>
c8bceb
                        Bind the <interface> to a zone [P] [Z]
c8bceb
   --change-interface=<interface>
c8bceb
-                       Change zone the <interface> is bound to [Z]
c8bceb
+                       Change zone the <interface> is bound to [P] [Z]
c8bceb
   --query-interface=<interface>
c8bceb
                        Query whether <interface> is bound to a zone [P] [Z]
c8bceb
   --remove-interface=<interface>
c8bceb
-- 
c8bceb
2.20.1
c8bceb