Correct documentation regarding PROMISC and ALLMULTI.

The ip util would happily change these flags, it's just not recommended.
Reflect that in the doc.

The behaviour of ifconfig is exactly the same as of ip, delete the note about
it.

Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
This commit is contained in:
Tomas Janousek 2007-11-20 15:38:21 +01:00 committed by Stephen Hemminger
parent ec30dcce71
commit e17b7337f1
1 changed files with 3 additions and 10 deletions

View File

@ -298,9 +298,9 @@ Do not use it, if you do not understand what this operation really does.
\vskip 1mm \vskip 1mm
\begin{NB} \begin{NB}
The {\tt ip} utility does not change the \verb|PROMISC| The \verb|PROMISC| and \verb|ALLMULTI| flags are considered
or \verb|ALLMULTI| flags. These flags are considered obsolete and should not be changed administratively, though
obsolete and should not be changed administratively. the {\tt ip} utility will allow that.
\end{NB} \end{NB}
\paragraph{Warning:} If multiple parameter changes are requested, \paragraph{Warning:} If multiple parameter changes are requested,
@ -450,13 +450,6 @@ or not implemented (\verb|DEBUG|) or specific to some devices
(\verb|MASTER|, \verb|AUTOMEDIA| and \verb|PORTSEL|). We do not discuss (\verb|MASTER|, \verb|AUTOMEDIA| and \verb|PORTSEL|). We do not discuss
them here. them here.
\end{NB} \end{NB}
\begin{NB}
The values of \verb|PROMISC| and \verb|ALLMULTI| flags
shown by the \verb|ifconfig| utility and by the \verb|ip| utility
are {\em different\/}. \verb|ip link ls| shows the true device state,
while \verb|ifconfig| shows the virtual state which was set with
\verb|ifconfig| itself.
\end{NB}
The second line contains information on the link layer addresses The second line contains information on the link layer addresses