10 Oct
2022
10 Oct
'22
1:42 p.m.
Jinoh Kang (@iamahuman) commented about dlls/wpcap/wpcap.c:
{ struct sockaddr_in *dst, *src = (struct sockaddr_in *)addr; if (!(dst = calloc( 1, sizeof(*dst) ))) return NULL; - dst->sin_family = src->sin_family; + dst->sin_family = AF_INET;
We should declare separate structs for Unix pcap and Win32 (w)pcap instead. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1015#note_10119