fix bugless in address allocation

This commit is contained in:
Mathieu Lacage committed 2007-07-31 10:45:15 +02:00
1 parent 8de745889a
commit b8d9bbacfc
1 file changed
+1 -1
+1 -1
View File
@@ -95,7 +95,7 @@ Eui48Address::Allocate (void)
static uint64_t id = 0;
id++;
Eui48Address address;
address.m_address[0] = (id >> 48) & 0xff;
address.m_address[0] = (id >> 40) & 0xff;
address.m_address[1] = (id >> 32) & 0xff;
address.m_address[2] = (id >> 24) & 0xff;
address.m_address[3] = (id >> 16) & 0xff;