initialize correctly mac addresses read from arp packets

This commit is contained in:
Mathieu Lacage committed 2007-02-12 23:37:15 +01:00
1 parent 74ad2341df
commit 1e9b8c7d2b
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ void ReadFrom (Buffer::Iterator &i, MacAddress &ad, uint32_t len)
{
uint8_t mac[MacAddress::MAX_LEN];
i.Read (mac, len);
ad.Set (mac);
ad.Set (mac, len);
}