git: wg: Change 'p_id' to use type 'unsigned long'

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


commit 26251bb09d8da78963cf07c6e24324b599bc6367
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Nov 28 09:53:26 2023 +0800

    wg: Change 'p_id' to use type 'unsigned long'
    
    The 'peer_counter' that is used to generate the 'p_id' is also defined
    as type 'unsigned long', so it's natural to use 'unsigned long' for
    'p_id'.  It also simplifies the printing by using '%ld' instead of
    '% PRIu64'.

Summary of changes:
 sys/net/wg/if_wg.c | 59 ++++++++++++++++++++++++++++++------------------------
 1 file changed, 33 insertions(+), 26 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/26251bb09d8da78963cf07c6e24324b599bc6367


-- 
DragonFly BSD source repository


More information about the Commits mailing list