]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commitdiff
man: mention BSD debugging
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 6 May 2021 10:54:29 +0000 (12:54 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 6 May 2021 10:54:29 +0000 (12:54 +0200)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/man/wg.8

index 0f747513b98e40c2288b168813d4278baa4a9629..79845391ec02430cc7f753bdce6eeb523dca96e5 100644 (file)
@@ -219,6 +219,13 @@ by running as root:
 
 \fB    # modprobe wireguard && echo module wireguard +p > /sys/kernel/debug/dynamic_debug/control\fP
 
+On OpenBSD and FreeBSD, debugging information can be written into
+.BR dmesg (1)
+on a per-interface basis by using
+.BR ifconfig (1):
+
+\fB    # ifconfig wg0 debug
+
 On userspace implementations, it is customary to set the \fILOG_LEVEL\fP environment variable to \fIverbose\fP.
 
 .SH ENVIRONMENT VARIABLES