single dns config per network
This commit is contained in:
parent
058d888311
commit
c0c215c83c
9 changed files with 76 additions and 147 deletions
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue