Method signature fix for csharp in reference to ticket #32 - partial fix for bug

This commit is contained in:
Joseph Henry
2018-10-09 15:29:33 -07:00
parent 71ea71e33a
commit 9b8217be40

View File

@@ -78,7 +78,7 @@ namespace ZeroTier
public static extern int zts_has_address(ulong nwid);
[DllImport("libzt.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern void zts_get_address(ulong nwid, IntPtr addr, int addrlen);
public static extern int zts_get_address(ulong nwid, IntPtr addr, int address_family);
[DllImport("libzt.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern void zts_get_6plane_addr(IntPtr addr, string nwid, string nodeId);