mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-22 17:08:58 +00:00
single dns config per network
This commit is contained in:
@ -125,11 +125,6 @@ extern "C" {
|
||||
*/
|
||||
#define ZT_MAX_NETWORK_ROUTES 32
|
||||
|
||||
/**
|
||||
* Maximum number of pushed DNS configurations on a network
|
||||
*/
|
||||
#define ZT_MAX_NETWORK_DNS 32
|
||||
|
||||
/**
|
||||
* Maximum number of statically assigned IP addresses per network endpoint using ZT address management (not DHCP)
|
||||
*/
|
||||
@ -1339,16 +1334,11 @@ typedef struct
|
||||
uint64_t mac; /* MAC in lower 48 bits */
|
||||
uint32_t adi; /* Additional distinguishing information, usually zero except for IPv4 ARP groups */
|
||||
} multicastSubscriptions[ZT_MAX_MULTICAST_SUBSCRIPTIONS];
|
||||
|
||||
/**
|
||||
* Number of ZT-pushed DNS configuraitons
|
||||
*/
|
||||
unsigned int dnsCount;
|
||||
|
||||
/**
|
||||
* Network specific DNS configuration
|
||||
*/
|
||||
ZT_VirtualNetworkDNS dns[ZT_MAX_NETWORK_DNS];
|
||||
ZT_VirtualNetworkDNS dns;
|
||||
} ZT_VirtualNetworkConfig;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user