naccyde / rpms / iproute

Forked from rpms/iproute 5 months ago
Clone

Blame SOURCES/0206-ip-link.8-Place-ip-link-set-warning-more-prominently.patch

049c96
From 38d81434a8b2f6354936ea3c9cb787cef002e3f1 Mon Sep 17 00:00:00 2001
049c96
From: Phil Sutter <psutter@redhat.com>
049c96
Date: Wed, 20 Jul 2016 22:56:22 +0200
049c96
Subject: [PATCH] ip-link.8: Place 'ip link set' warning more prominently
049c96
049c96
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1269528
049c96
Upstream Status: iproute2.git commit f9e9f92881fcd
049c96
049c96
commit f9e9f92881fcd8e2241e2f5c6afcdbfb9398bf89
049c96
Author: Phil Sutter <phil@nwl.cc>
049c96
Date:   Sat Jul 9 11:22:48 2016 +0200
049c96
049c96
    ip-link.8: Place 'ip link set' warning more prominently
049c96
049c96
    This moves the warning to the beginning of the section about 'ip link
049c96
    set' which makes it still stand out after adding more text to it's end.
049c96
049c96
    Signed-off-by: Phil Sutter <phil@nwl.cc>
049c96
---
049c96
 man/man8/ip-link.8.in | 24 ++++++++++++------------
049c96
 1 file changed, 12 insertions(+), 12 deletions(-)
049c96
049c96
diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
049c96
index 7bf3d47..53d287a 100644
049c96
--- a/man/man8/ip-link.8.in
049c96
+++ b/man/man8/ip-link.8.in
049c96
@@ -865,6 +865,18 @@ specifies the type of the device.
049c96
 
049c96
 .SS ip link set - change device attributes
049c96
 
049c96
+.PP
049c96
+.B Warning:
049c96
+If multiple parameter changes are requested,
049c96
+.B ip
049c96
+aborts immediately after any of the changes have failed.
049c96
+This is the only case when
049c96
+.B ip
049c96
+can move the system to an unpredictable state. The solution
049c96
+is to avoid changing several parameters with one
049c96
+.B ip link set
049c96
+call.
049c96
+
049c96
 .TP
049c96
 .BI dev " DEVICE "
049c96
 .I DEVICE
049c96
@@ -1034,18 +1046,6 @@ set IPv6 address generation mode
049c96
 .BR "link-netnsid "
049c96
 set peer netnsid for a cross-netns interface
049c96
 
049c96
-.PP
049c96
-.B Warning:
049c96
-If multiple parameter changes are requested,
049c96
-.B ip
049c96
-aborts immediately after any of the changes have failed.
049c96
-This is the only case when
049c96
-.B ip
049c96
-can move the system to an unpredictable state. The solution
049c96
-is to avoid changing several parameters with one
049c96
-.B ip link set
049c96
-call.
049c96
-
049c96
 .SS  ip link show - display device attributes
049c96
 
049c96
 .TP
049c96
-- 
049c96
1.8.3.1
049c96