This commit is contained in:
Adam Ierymenko 2016-10-05 10:12:16 -07:00
commit f1c8706485

View File

@ -180,7 +180,7 @@ void NeighborDiscovery::remove(const sockaddr_storage &address)
sockaddr_storage NeighborDiscovery::processIncomingND(const uint8_t *nd, unsigned int len, const sockaddr_storage &localIp, uint8_t *response, unsigned int &responseLen, MAC &responseDest) sockaddr_storage NeighborDiscovery::processIncomingND(const uint8_t *nd, unsigned int len, const sockaddr_storage &localIp, uint8_t *response, unsigned int &responseLen, MAC &responseDest)
{ {
assert(sizeof(_neighbor_solicitation) == 28); assert(sizeof(_neighbor_solicitation) == 28);
assert(sizeof(_neighbor_advertisement) == 30); assert(sizeof(_neighbor_advertisement) == 32);
const uint64_t now = OSUtils::now(); const uint64_t now = OSUtils::now();
sockaddr_storage ip = ZT_SOCKADDR_NULL; sockaddr_storage ip = ZT_SOCKADDR_NULL;