Module Name:    src
Committed By:   dyoung
Date:           Fri Aug  7 20:13:12 UTC 2009

Modified Files:
        src/sbin/ifconfig: ifconfig.8

Log Message:
Describe the -N flag.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sbin/ifconfig/ifconfig.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/ifconfig/ifconfig.8
diff -u src/sbin/ifconfig/ifconfig.8:1.99 src/sbin/ifconfig/ifconfig.8:1.100
--- src/sbin/ifconfig/ifconfig.8:1.99	Wed Jul 29 21:47:11 2009
+++ src/sbin/ifconfig/ifconfig.8	Fri Aug  7 20:13:12 2009
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ifconfig.8,v 1.99 2009/07/29 21:47:11 hubertf Exp $
+.\"	$NetBSD: ifconfig.8,v 1.100 2009/08/07 20:13:12 dyoung Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)ifconfig.8	8.4 (Berkeley) 6/1/94
 .\"
-.Dd July 2, 2009
+.Dd August 7, 2009
 .Dt IFCONFIG 8
 .Os
 .Sh NAME
@@ -37,6 +37,7 @@
 .Nd configure network interface parameters
 .Sh SYNOPSIS
 .Nm
+.Op Fl N
 .Ar interface address_family
 .Oo
 .Ar address
@@ -44,12 +45,12 @@
 .Oc
 .Op Ar parameters
 .Nm
-.Op Fl hLmvz
+.Op Fl hLmNvz
 .Ar interface
 .Op Ar protocol_family
 .Nm
 .Fl a
-.Op Fl bdhLmsuvz
+.Op Fl bdhLNmsuvz
 .Op Ar protocol_family
 .Nm
 .Fl l
@@ -813,6 +814,21 @@
 flag except that it zeros the interface input and output statistics
 after printing them.
 .Pp
+The
+.Fl N
+flag is just the opposite of the
+.Fl n
+flag in
+.Xr netstat 1
+or in
+.Xr route 8 :
+it tells
+.Nm
+to try to resolve numbers to hostnames or to service names.
+The default
+.Nm
+behavior is to print numbers instead of names.
+.Pp
 Only the super-user may modify the configuration of a network interface.
 .Sh EXAMPLES
 Add a link-layer (MAC) address to an Ethernet:

Reply via email to