improve ifconfig(8) man page by describing special behaviour of -l ether

PR:		docs/187644
Submitted by:	Andrew Merenbach (original patch)
Approved by:	bcr (mentor)
This commit is contained in:
Allan Jude 2014-05-27 20:45:15 +00:00
parent 5648de3b31
commit 1d28cd267a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266774

View File

@ -169,6 +169,18 @@ and
.Dq lladdr .Dq lladdr
are synonyms for are synonyms for
.Dq link . .Dq link .
When using the
.Fl l
flag, the
.Dq ether
address family has special meaning and is no longer synonymous with
.Dq link
or
.Dq lladdr .
Specifying
.Fl l Dq ether
will list only ethernet interfaces, excluding all other interface types,
including the loopback interface.
.It Ar dest_address .It Ar dest_address
Specify the address of the correspondent on the other end Specify the address of the correspondent on the other end
of a point to point link. of a point to point link.
@ -2554,6 +2566,11 @@ The
.Fl l .Fl l
flag may be used to list all available interfaces on the system, with flag may be used to list all available interfaces on the system, with
no other additional information. no other additional information.
If an
.Ar address_family
is specified, only interfaces of that type will be listed.
.Fl l Dq ether
will list only ethernet adapters, excluding the loopback interface.
Use of this flag is mutually exclusive Use of this flag is mutually exclusive
with all other flags and commands, except for with all other flags and commands, except for
.Fl d .Fl d