mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-18 20:47:53 +00:00
Disable debug code.
This commit is contained in:
parent
93b673043c
commit
0bcc7d46a3
@ -353,8 +353,6 @@ public:
|
||||
template<unsigned int C>
|
||||
inline void serialize(Buffer<C> &b) const
|
||||
{
|
||||
printf("!!! sending\n");
|
||||
|
||||
b.append((uint16_t)1); // version
|
||||
|
||||
b.append((uint64_t)networkId);
|
||||
@ -473,8 +471,6 @@ public:
|
||||
this->com.serialize(b);
|
||||
|
||||
b.append((uint16_t)0); // extended bytes, currently 0 since unused
|
||||
|
||||
dump();
|
||||
}
|
||||
|
||||
template<unsigned int C>
|
||||
@ -482,8 +478,6 @@ public:
|
||||
{
|
||||
memset(this,0,sizeof(NetworkConfig));
|
||||
|
||||
printf("!!! deserializing\n");
|
||||
|
||||
unsigned int p = startAt;
|
||||
|
||||
if (b.template at<uint16_t>(p) != 1)
|
||||
@ -608,7 +602,6 @@ public:
|
||||
|
||||
p += b.template at<uint16_t>(p) + 2;
|
||||
|
||||
dump();
|
||||
return (p - startAt);
|
||||
}
|
||||
|
||||
@ -616,6 +609,7 @@ public:
|
||||
void fromDictionary(const char *ds,unsigned int dslen);
|
||||
#endif
|
||||
|
||||
/*
|
||||
inline void dump() const
|
||||
{
|
||||
printf("networkId==%.16llx\n",networkId);
|
||||
@ -644,6 +638,7 @@ public:
|
||||
printf("name==%s\n",name);
|
||||
printf("com==%s\n",com.toString().c_str());
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Network ID that this configuration applies to
|
||||
|
Loading…
Reference in New Issue
Block a user