summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifconfig.8
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-05-29 09:13:44 +0000
committerphk <phk@FreeBSD.org>2001-05-29 09:13:44 +0000
commitde9bff5d04a6648d18315758ba3fc3c56bef1f05 (patch)
tree03e1c73f9af3dbf790af67ceca6eb7b4e7f06af2 /sbin/ifconfig/ifconfig.8
parentb7bd9d6b28334d79ebd3b8ca19c21cf54a4e5c21 (diff)
downloadFreeBSD-src-de9bff5d04a6648d18315758ba3fc3c56bef1f05.zip
FreeBSD-src-de9bff5d04a6648d18315758ba3fc3c56bef1f05.tar.gz
When using interfaces that support if_media, the supported media list is
printed on a single, very long, and generally unreadable line. This isn't very useful. It's also really ugly and most of the time you don't care what media is supported anyway. PR: 27701 Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r--sbin/ifconfig/ifconfig.87
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 3382a5d..14c7d03 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -41,6 +41,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl L
+.Op Fl m
.Ar interface
.Op Ar address_family
.Oo
@@ -52,6 +53,7 @@
.Fl a
.Op Fl L
.Op Fl d
+.Op Fl m
.Op Fl u
.Op Ar address_family
.Nm
@@ -62,6 +64,7 @@
.Nm
.Op Fl L
.Op Fl d
+.Op Fl m
.Op Fl u
.Sh DESCRIPTION
.Nm Ifconfig
@@ -530,6 +533,10 @@ will report only the details specific to that protocol family.
If the driver does supports the media selection system, the supported
media list will be included in the output.
.Pp
+If the
+.Fl m
+flag is passed before an interface name, ifconfig will display all
+of the supported media for the specified interface.
If
.Fl L
flag is supplied, address lifetime is displayed for IPv6 addresses,
OpenPOWER on IntegriCloud