Fixed bug.

This commit is contained in:
irungentoo 2016-09-05 20:31:32 -04:00
parent 755f084e87
commit e6af3a7825
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -49,8 +49,8 @@ static void fetch_broadcast_info(uint16_t port)
{
broadcast_count = 0;
IP_ADAPTER_INFO *pAdapterInfo = malloc(sizeof(pAdapterInfo));
unsigned long ulOutBufLen = sizeof(pAdapterInfo);
IP_ADAPTER_INFO *pAdapterInfo = malloc(sizeof(IP_ADAPTER_INFO));
unsigned long ulOutBufLen = sizeof(IP_ADAPTER_INFO);
if (pAdapterInfo == NULL) {
return;