summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifconfig.8
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1995-03-12 19:05:03 +0000
committerwpaul <wpaul@FreeBSD.org>1995-03-12 19:05:03 +0000
commitf35bd2b8e80fbedba802ad510574a163bedb55db (patch)
treee7fff3672d34b8e54ff858425f24b031a110e1fa /sbin/ifconfig/ifconfig.8
parent0fcaf7139aa9cdd217d54d9f949c29b425ba67b5 (diff)
downloadFreeBSD-src-f35bd2b8e80fbedba802ad510574a163bedb55db.zip
FreeBSD-src-f35bd2b8e80fbedba802ad510574a163bedb55db.tar.gz
Impliment -ad and -au flags in addition to -a and document the change
in the man page. ifconfig -au affects all interfaces marked as up, and ifconfig -ad affects only the interfaces marked down. ifconfig -a still handles everything. This change is purely for compatibility with SunOS, for those who might be accustomed to the SunOS ifconfig's behavior.
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r--sbin/ifconfig/ifconfig.817
1 files changed, 16 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 6cdb459..cb97093 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -50,6 +50,10 @@
.Op Ar protocol_family
.Nm ifconfig
.Ar -a
+.Nm ifconfig
+.Ar -au
+.Nm ifconfig
+.Ar -ad
.Sh DESCRIPTION
.Nm Ifconfig
is used to assign an address
@@ -264,7 +268,18 @@ the hardware will be re-initialized.
.Nm Ifconfig
.Ar -a
displays information on all interfaces. When followed by a configuration
-parameter, will also set the configuration on all interfaces.
+parameter, it will also set the configuration on all interfaces.
+.Pp
+.Nm Ifconfig
+.Ar -au
+is similar to
+.Nm ifconfig
+.Ar -a ,
+except it only affects interfaces that are currently marked as up.
+Conversely,
+.Nm ifconfig
+.Ar -ad
+affects only interfaces that are marked down.
.Pp
.Nm Ifconfig
displays the current configuration for a network interface
OpenPOWER on IntegriCloud