summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-12-06 23:10:19 +0000
committerderaadt <deraadt@openbsd.org>2003-12-06 23:10:19 +0000
commiteb59e9a06db3d230012ebd84306490aafdb321b3 (patch)
tree5fa203f22ed27830530c4e9f8d977fdf5018b653
parentNULL not 0 at end of pdevinit[] (diff)
downloadwireguard-openbsd-eb59e9a06db3d230012ebd84306490aafdb321b3.tar.xz
wireguard-openbsd-eb59e9a06db3d230012ebd84306490aafdb321b3.zip
bit more flesh to the create and destroy; thanks jmc
-rw-r--r--sbin/ifconfig/ifconfig.827
1 files changed, 26 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index c1a65834531..8c2f4cc4487 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.72 2003/12/03 13:28:36 markus Exp $
+.\" $OpenBSD: ifconfig.8,v 1.73 2003/12/06 23:10:19 deraadt 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 $
.\"
@@ -66,6 +66,12 @@
.Ar interface
.Op Ar address_family
.Nm ifconfig
+.Ar interface
+.Cm create
+.Nm ifconfig
+.Ar interface
+.Cm destroy
+.Nm ifconfig
.Op Fl a | am
.Op Ar address_family
.Nm ifconfig
@@ -217,6 +223,17 @@ Removes the source and destination tunnel addresses,
configured onto a tunnel interface.
.It Cm create
Create the specified network pseudo-device.
+At least the following devices can be created on demand:
+.Pp
+.Xr bridge 4 ,
+.Xr carp 4 ,
+.Xr gif 4 ,
+.Xr gre 4 ,
+.Xr lo 4 ,
+.Xr ppp 4 ,
+.Xr sl 4 ,
+.Xr tun 4 ,
+.Xr vlan 4
.It Cm destroy
Destroy the specified network pseudo-device.
.It Cm ipdst
@@ -616,9 +633,17 @@ requested address is unknown, or the user is not privileged and
tried to alter an interface's configuration.
.Sh SEE ALSO
.Xr netstat 1 ,
+.Xr bridge 4 ,
.Xr carp 4 ,
+.Xr gif 4 ,
+.Xr gre 4 ,
.Xr ifmedia 4 ,
+.Xr lo 4 ,
.Xr netintro 4 ,
+.Xr ppp 4 ,
+.Xr sl 4 ,
+.Xr tun 4 ,
+.Xr vlan 4 ,
.Xr hostname.if 5 ,
.Xr brconfig 8 ,
.Xr rc 8 ,