* Netlink API returns wrong attribute ID for peers on Ubuntu 19.10
@ 2020-04-16 15:26 David Leung
0 siblings, 0 replies; only message in thread
From: David Leung @ 2020-04-16 15:26 UTC (permalink / raw)
To: wireguard
Hello,
I've been using the Netlink Generic API to get a WireGuard device's
peer endpoints successfully on NixOS.
When I run the same program on Ubuntu 19.10 (running wireguard version
v1.0.20200206), the peers attribute returned is 32776 instead of 8.
This doesn't match what's defined in
https://git.zx2c4.com/wireguard-tools/tree/contrib/embeddable-wg-library/wireguard.c.
I wonder if it's caused by a decoding mistake on my end, or if there's
something strange happening with the Ubuntu package.
Best,
David
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-24 20:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-16 15:26 Netlink API returns wrong attribute ID for peers on Ubuntu 19.10 David Leung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).