ip-link.8: Place 'ip link set' warning more prominently

This moves the warning to the beginning of the section about 'ip link
set' which makes it still stand out after adding more text to it's end.

Signed-off-by: Phil Sutter <phil@nwl.cc>
This commit is contained in:
Phil Sutter 2016-07-09 11:22:48 +02:00 committed by Stephen Hemminger
parent 657426c506
commit f9e9f92881
1 changed files with 12 additions and 12 deletions

View File

@ -1019,6 +1019,18 @@ specifies the type of the device.
.SS ip link set - change device attributes
.PP
.B Warning:
If multiple parameter changes are requested,
.B ip
aborts immediately after any of the changes have failed.
This is the only case when
.B ip
can move the system to an unpredictable state. The solution
is to avoid changing several parameters with one
.B ip link set
call.
.TP
.BI dev " DEVICE "
.I DEVICE
@ -1245,18 +1257,6 @@ set the IPv6 address generation mode
.BR "link-netnsid "
set peer netnsid for a cross-netns interface
.PP
.B Warning:
If multiple parameter changes are requested,
.B ip
aborts immediately after any of the changes have failed.
This is the only case when
.B ip
can move the system to an unpredictable state. The solution
is to avoid changing several parameters with one
.B ip link set
call.
.SS ip link show - display device attributes
.TP