example.c in wintun project does not work as expected

hr567 at hr567.me hr567 at hr567.me
Thu Dec 29 13:59:42 UTC 2022


I'm learning how to use wintun with its example.c file, however, the example
program doesn't run correctly currently. I found that the cause of the error
was calling WintunGetAdapterLUID before WintunStartSession. In this case,
WintunGetAdapterLUID set the InterfaceLuid to 0. I'm not sure if the problem
is caused by the wintun version or the OS version. I am using wintul.dll
version 0.14.1 and Windows 11 x86_64.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - hr567 at hr567.me - c8b7d072.asc
Type: application/pgp-keys
Size: 1757 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20221229/8bdf1f49/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 509 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20221229/8bdf1f49/attachment.sig>


More information about the WireGuard mailing list