summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2018-02-15 04:21:46 +0000
committerdlg <dlg@openbsd.org>2018-02-15 04:21:46 +0000
commit9b42b610d5b2641d63a3d7c5f19d955847d8df92 (patch)
treea46c33be854dc8fe05916f6315b7e8b7f1eb952f
parentsay that the only optional header we support is the Key. (diff)
downloadwireguard-openbsd-9b42b610d5b2641d63a3d7c5f19d955847d8df92.tar.xz
wireguard-openbsd-9b42b610d5b2641d63a3d7c5f19d955847d8df92.zip
update tunnelttl to talk about the "copy" argument
-rw-r--r--sbin/ifconfig/ifconfig.810
1 files changed, 8 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index f928767cd89..68f24911b85 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.298 2018/02/10 05:55:26 florian Exp $
+.\" $OpenBSD: ifconfig.8,v 1.299 2018/02/15 04:21:46 dlg 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 $
.\"
@@ -31,7 +31,7 @@
.\"
.\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94
.\"
-.Dd $Mdocdate: February 10 2018 $
+.Dd $Mdocdate: February 15 2018 $
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -1603,6 +1603,7 @@ for a complete list of the available protocols.
.Op Oo Fl Oc Ns Cm keepalive Ar period count
.Op Oo Fl Oc Ns Cm tunnel Ar src_address dest_address
.Op Cm tunneldomain Ar tableid
+.Op Cm tunnelttl Ar ttl
.Op Oo Fl Oc Ns Cm vnetid Ar network-id
.Ek
.nr nS 0
@@ -1655,6 +1656,11 @@ can be set to any valid routing table ID;
the corresponding routing domain is derived from this table.
.It Cm tunnelttl Ar ttl
Set the IP or multicast TTL of the tunnel packets.
+If supported by the tunnel protocol,
+the value can also be set to
+.Ar copy
+to have the TTL copied between the encapsulated protocol headers
+and the tunnel protocol headers.
.It Cm vnetid Ar network-id
Set the virtual network identifier.
This is a number which is used by tunnel protocols such as