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