diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-05-31 20:54:39 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-05-31 20:54:39 +0000 |
commit | 7c02b214573b051261d20f1fa5f473841b75b588 (patch) | |
tree | ce3425590468a88650a4df62ac785d804447ee5c /sbin/ifconfig/ifconfig.8 | |
parent | f454f5b2cd6f4addda2387f5bb72d0e1bf8ae327 (diff) |
tidy up the trunk stuff;
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 980ef6b6c54..28f06a2dc26 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ifconfig.8,v 1.105 2005/05/25 07:40:49 reyk Exp $ +.\" $OpenBSD: ifconfig.8,v 1.106 2005/05/31 20:54:38 jmc Exp $ .\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $ .\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $ .\" @@ -47,7 +47,7 @@ .Oc .Op Ar parameters .Nm ifconfig -.Fl aAmM +.Fl AaMm .Op Ar address_family .Nm ifconfig .Fl C @@ -90,7 +90,7 @@ .Nm ifconfig .Ar trunk-interface .Oo -.Cm [-]trunkport +.Oo Fl Oc Ns Cm trunkport .Ar child-iface .Oc .Oo @@ -163,7 +163,8 @@ can be created dynamically at runtime using .Cm ifconfig create . .It Fl M For the chosen 802.11 interfaces, show the results of an access point -scan. In Host AP mode, this will dump the list of known nodes. +scan. +In Host AP mode, this will dump the list of known nodes. .It Fl m Ar interface Print media information for a given .Ar interface . @@ -686,12 +687,9 @@ If the driver is a pseudo-device, set the trunk protocol. Refer to the interface's driver-specific man page for a complete list of the available protocols, -or use -.Bd -literal -offset indent -$ ifconfig -m interface -.Ed +or use the following for a listing of choices: .Pp -for a listing of choices. +.Dl $ ifconfig -m interface .It Cm tunnel Ar src_address dest_address Set the source and destination tunnel addresses on a tunnel interface, including @@ -832,7 +830,6 @@ Create and configure the trunk0 interface for IP address 192.168.23.1, with the em0 and em1 trunk port interfaces: .Pp .Dl # ifconfig trunk0 create 192.168.23.1 trunkport em0 trunkport em1 -.Pp .Sh DIAGNOSTICS Messages indicating the specified interface does not exist, the requested address is unknown, or the user is not privileged and |