git: wg: Export the internal peer ID to userland for diagnostics

Aaron LI aly at crater.dragonflybsd.org
Thu Feb 8 00:32:32 PST 2024


commit 1671e44324064c7cb19c4845dfbcfba1037f65fa
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Dec 7 09:07:51 2023 +0800

    wg: Export the internal peer ID to userland for diagnostics
    
    The auto-generated internal peer ID is used in various debug messages,
    so exporting it to the userland (i.e., ifconfig(8)) can help with the
    diagnostics.
    
    Update ifconfig(8) to print the added peer ID.

Summary of changes:
 sbin/ifconfig/ifwg.c | 1 +
 sys/net/wg/if_wg.c   | 1 +
 sys/net/wg/if_wg.h   | 1 +
 3 files changed, 3 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1671e44324064c7cb19c4845dfbcfba1037f65fa


-- 
DragonFly BSD source repository


More information about the Commits mailing list