Fix a single SIZEOF_ADDRESS warning.
While I haven't found official documentation for the TAP_IOCTL_GET_VERSION
control code, clearly the DeviceIoControl() parameters were incorrect,
see other online examples:
https://github.com/juhovh/tapcfg/blob/
3d5ef74/src/lib/tapcfg_windows.c#L140-L146
https://github.com/OpenVPN/openvpn/blob/
34b4254/src/openvpn/tun.c#L6030-L6032
Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
vpn_progress(vpninfo, PRG_DEBUG, _("Opened tun device %S\n"), wname);
if (!DeviceIoControl(tun_fh, TAP_IOCTL_GET_VERSION,
- data, sizeof(&data), data, sizeof(data),
+ data, sizeof(data), data, sizeof(data),
&len, NULL)) {
char *errstr = openconnect__win32_strerror(GetLastError());