Add timestamp field to network config requests.

This commit is contained in:
Adam Ierymenko 2015-01-05 17:51:50 -08:00
parent 4e95384ad6
commit b644d2a893

View File

@ -308,6 +308,12 @@ void Network::requestConfiguration()
Packet outp(controller(),RR->identity.address(),Packet::VERB_NETWORK_CONFIG_REQUEST);
outp.append((uint64_t)_id);
outp.append((uint16_t)0); // no meta-data
{
Mutex::Lock _l(_lock);
if (_config)
outp.append((uint64_t)_config->timestamp());
else outp.append((uint64_t)0);
}
RR->sw->send(outp,true);
}