Hi Neutron, Thanks for the report. I fixed this slightly differently here:
https://git.zx2c4.com/wireguard-windows/commit/?id=0ab19b6a457b672bdb613b4c92d9786a48edd605 Note that I would have given a review to your patch instead of fixing myself, but I can't actually accept patches from you because your Signed-off-by doesn't specify your name, per the notes here https://www.kernel.org/doc/html/v4.11/process/submitting-patches.html#developer-s-certificate-of-origin-1-1 . WireGuard tries to stay decently close to Linux kernel guidelines. Jason
