git: 3bfbd1077668 - stable/15 - tun.4: Canonicalize SYNOPSIS and AUTHORS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Sep 2026 12:05:06 UTC
The branch stable/15 has been updated by ziaee:
URL: https://cgit.FreeBSD.org/src/commit/?id=3bfbd107766890a102906bccbf00e7241b137794
commit 3bfbd107766890a102906bccbf00e7241b137794
Author: Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-09-04 17:42:39 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-09-16 12:03:45 +0000
tun.4: Canonicalize SYNOPSIS and AUTHORS
While here, s/PR#2411/NetBSD PR#2411/ in the comments for clarity.
I had to go to netbsd sources to get this information.
MFC after: 3 days
Event: Berlin Hackathon 202609
(cherry picked from commit 555972c6c94721bffbff1ecb51d916977b5c85f7)
---
share/man/man4/tun.4 | 21 ++++++---------------
1 file changed, 6 insertions(+), 15 deletions(-)
diff --git a/share/man/man4/tun.4 b/share/man/man4/tun.4
index 1c5bd35f0ab8..5621d2400e81 100644
--- a/share/man/man4/tun.4
+++ b/share/man/man4/tun.4
@@ -1,26 +1,18 @@
.\" $NetBSD: tun.4,v 1.1 1996/06/25 22:17:37 pk Exp $
-.\" Based on PR#2411
+.\" Based on NetBSD PR#2411
.\"
-.Dd March 17, 2020
+.Dd September 5, 2026
.Dt TUN 4
.Os
.Sh NAME
.Nm tun
.Nd tunnel software network interface
.Sh SYNOPSIS
-To compile this driver into the kernel,
-place the following line in your
-kernel configuration file:
-.Bd -ragged -offset indent
-.Cd "device tuntap"
-.Ed
+.Cd device tuntap
.Pp
-Alternatively, to load the driver as a
-module at boot time, place the following lines in
+In
.Xr loader.conf 5 :
-.Bd -literal -offset indent
-if_tuntap_load="YES"
-.Ed
+.Cd if_tuntap_load="YES"
.Sh DESCRIPTION
The
.Nm
@@ -354,5 +346,4 @@ them pile up.
.Xr tap 4 ,
.Xr ifconfig 8
.Sh AUTHORS
-This manual page was originally obtained from
-.Nx .
+.An Paul Kranenburg Aq Mt pk@netbsd.org