summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/ifconfig/ifconfig.84
-rw-r--r--sbin/ifconfig/ifconfig.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 12432bd5c4a..7c34aeb94a0 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.7 1997/11/12 22:03:01 deraadt Exp $
+.\" $OpenBSD: ifconfig.8,v 1.8 1997/12/31 11:16:21 deraadt Exp $
.\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -50,7 +50,7 @@
.Op Ar parameters
.Nm ifconfig
.Ar interface
-.Op Ar protocol_family
+.Op Ar address_family
.Nm ifconfig
.Fl a
.Nm ifconfig
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index 5299b4ed2d4..3d4eddbdaee 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.11 1997/09/20 07:51:39 deraadt Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.12 1997/12/31 11:16:22 deraadt Exp $ */
/* $NetBSD: ifconfig.c,v 1.22 1996/01/04 20:11:20 pk Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
#else
-static char rcsid[] = "$OpenBSD: ifconfig.c,v 1.11 1997/09/20 07:51:39 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ifconfig.c,v 1.12 1997/12/31 11:16:22 deraadt Exp $";
#endif
#endif /* not lint */
@@ -941,7 +941,7 @@ void
usage()
{
fprintf(stderr, "usage: ifconfig interface\n%s",
- "\t[ af [ address [ dest_addr ] ] [ up ] [ down ] "
+ "\t[ [af] [ address [ dest_addr ] ] [ up ] [ down ] "
"[ netmask mask ] ]\n"
"\t[ metric n ]\n"
"\t[ arp | -arp ]\n"