mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 02:40:13 +00:00
Fix potential bug in controller config request.
This commit is contained in:
parent
778c7e6e70
commit
07ea4fd4f9
@ -264,7 +264,7 @@ void Network::requestConfiguration()
|
||||
outp.append((uint64_t)_config->revision());
|
||||
else outp.append((uint64_t)0);
|
||||
}
|
||||
RR->sw->send(outp,true,_id);
|
||||
RR->sw->send(outp,true,0);
|
||||
}
|
||||
|
||||
bool Network::validateAndAddMembershipCertificate(const CertificateOfMembership &cert)
|
||||
|
@ -110,7 +110,8 @@ public:
|
||||
* won't be encrypted right. (This is not used for relaying.)
|
||||
*
|
||||
* The network ID should only be specified for frames and other actual
|
||||
* network traffic.
|
||||
* network traffic. Other traffic such as controller requests and regular
|
||||
* protocol messages should specify zero.
|
||||
*
|
||||
* @param packet Packet to send
|
||||
* @param encrypt Encrypt packet payload? (always true except for HELLO)
|
||||
|
Loading…
Reference in New Issue
Block a user