Open mthompson2 opened 1 year ago
Hi FIrstly - Great Project. Was easy to get up and running - But ive hit a big issue.
Structs.cs - struct loctlWgPeerConfig has a single IoctlAllowedIP object.
When populated the AllowedIP String is split and only the first is used.
I have managed to swap this for an array and populate it correctly (I think) but am failing during marshalling to IntPTR .
Any help would be appreciated.
I believe I have a fix for this (And a few other bugs) at https://github.com/mthompson2/WireGuardNTSharp.
Thanks for the code and feedback.
Can you do pull request?
Hi FIrstly - Great Project. Was easy to get up and running - But ive hit a big issue.
Structs.cs - struct loctlWgPeerConfig has a single IoctlAllowedIP object.
When populated the AllowedIP String is split and only the first is used.
I have managed to swap this for an array and populate it correctly (I think) but am failing during marshalling to IntPTR .
Any help would be appreciated.