aboutsummaryrefslogtreecommitdiff
path: root/sbin/ifconfig
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2019-05-18 21:01:36 +0000
committerBrooks Davis <brooks@FreeBSD.org>2019-05-18 21:01:36 +0000
commitffda67901eae8e304935d30c26ccaa0f46afc851 (patch)
tree64604023b6fc29cfd498e3debbfa56d3c0fb3815 /sbin/ifconfig
parent862dc23d735b832298c2c688c02a616290d66205 (diff)
downloadsrc-ffda67901eae8e304935d30c26ccaa0f46afc851.tar.gz
src-ffda67901eae8e304935d30c26ccaa0f46afc851.zip
Change ed(4), ep(4), and fxp(4) examples to em(4).
ed(4) and ep(4) have been removed. fxp(4) remains popular in older systems, but isn't as future proof as em(4). Reviewed by: bz, jhb MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D20311
Notes
Notes: svn path=/head/; revision=347963
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r--sbin/ifconfig/ifconfig.816
1 files changed, 8 insertions, 8 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 92b319869cbd..3a1332cf6f1f 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -28,7 +28,7 @@
.\" From: @(#)ifconfig.8 8.3 (Berkeley) 1/5/94
.\" $FreeBSD$
.\"
-.Dd May 3, 2019
+.Dd May 18, 2019
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -196,7 +196,7 @@ This
parameter is a string of the form
.Dq name unit ,
for example,
-.Dq Li ed0 .
+.Dq Li em0 .
.It Ar groupname
List the interfaces in the given group.
.El
@@ -2935,26 +2935,26 @@ Assign the IPv4 address
with a network mask of
.Li 255.255.255.0 ,
to the interface
-.Li fxp0 :
-.Dl # ifconfig fxp0 inet 192.0.2.10 netmask 255.255.255.0
+.Li em0 :
+.Dl # ifconfig em0 inet 192.0.2.10 netmask 255.255.255.0
.Pp
Add the IPv4 address
.Li 192.0.2.45 ,
with the CIDR network prefix
.Li /28 ,
to the interface
-.Li ed0 ,
+.Li em0 ,
using
.Cm add
as a synonym for the canonical form of the option
.Cm alias :
-.Dl # ifconfig ed0 inet 192.0.2.45/28 add
+.Dl # ifconfig em0 inet 192.0.2.45/28 add
.Pp
Remove the IPv4 address
.Li 192.0.2.45
from the interface
-.Li ed0 :
-.Dl # ifconfig ed0 inet 192.0.2.45 -alias
+.Li em0 :
+.Dl # ifconfig em0 inet 192.0.2.45 -alias
.Pp
Enable IPv6 functionality of the interface:
.Dl # ifconfig em0 inet6 -ifdisabled