wg: Change 'p_id' to use type 'unsigned long'
commit26251bb09d8da78963cf07c6e24324b599bc6367
authorAaron LI <aly@aaronly.me>
Tue, 28 Nov 2023 01:53:26 +0000 (28 09:53 +0800)
committerAaron LI <aly@aaronly.me>
Thu, 8 Feb 2024 06:44:46 +0000 (8 14:44 +0800)
treef9b9da3f53fe19de7f65f43328204e0f9ed07559
parent804295c225c16ee2f11726d871b3257a67992b69
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'.
sys/net/wg/if_wg.c