* Also initialize the arp_protocol::local_address field, spotted by Atis,
thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37991 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1001,6 +1001,8 @@ arp_init_protocol(net_interface* interface, net_domain* domain,
|
|||||||
return B_NO_MEMORY;
|
return B_NO_MEMORY;
|
||||||
|
|
||||||
memset(&protocol->hardware_address, 0, sizeof(sockaddr_dl));
|
memset(&protocol->hardware_address, 0, sizeof(sockaddr_dl));
|
||||||
|
protocol->local_address = 0;
|
||||||
|
|
||||||
*_protocol = protocol;
|
*_protocol = protocol;
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user