mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
One more.
This commit is contained in:
parent
0a9e2227e8
commit
678116b6d1
1 changed files with 22 additions and 3 deletions
|
@ -221,9 +221,28 @@ namespace ZeroTier {
|
||||||
class NetworkConfig
|
class NetworkConfig
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NetworkConfig() { memset(this,0,sizeof(NetworkConfig)); }
|
NetworkConfig() :
|
||||||
NetworkConfig(const NetworkConfig &nc) { memcpy(this,&nc,sizeof(NetworkConfig)); }
|
networkId(0),
|
||||||
inline NetworkConfig &operator=(const NetworkConfig &nc) { memcpy(this,&nc,sizeof(NetworkConfig)); return *this; }
|
timestamp(0),
|
||||||
|
credentialTimeMaxDelta(0),
|
||||||
|
revision(0),
|
||||||
|
issuedTo(),
|
||||||
|
remoteTraceTarget(),
|
||||||
|
flags(0),
|
||||||
|
remoteTraceLevel(Trace::LEVEL_NORMAL),
|
||||||
|
mtu(0),
|
||||||
|
multicastLimit(0),
|
||||||
|
specialistCount(0),
|
||||||
|
routeCount(0),
|
||||||
|
staticIpCount(0),
|
||||||
|
ruleCount(0),
|
||||||
|
capabilityCount(0),
|
||||||
|
tagCount(0),
|
||||||
|
certificateOfOwnershipCount(0),
|
||||||
|
type(ZT_NETWORK_TYPE_PRIVATE)
|
||||||
|
{
|
||||||
|
name[0] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Write this network config to a dictionary for transport
|
* Write this network config to a dictionary for transport
|
||||||
|
|
Loading…
Add table
Reference in a new issue