Optimize inserting records into server list.

Signed-off-by: hev <r@hev.cc>
This commit is contained in:
hev
2021-09-19 18:56:08 +08:00
committed by Simon Kelley
parent 8312a3ba4f
commit eb88eed1fc
2 changed files with 9 additions and 10 deletions

View File

@@ -1105,7 +1105,7 @@ extern struct daemon {
char *lease_change_command;
struct iname *if_names, *if_addrs, *if_except, *dhcp_except, *auth_peers, *tftp_interfaces;
struct bogus_addr *bogus_addr, *ignore_addr;
struct server *servers, *local_domains, **serverarray, *no_rebind;
struct server *servers, *servers_tail, *local_domains, **serverarray, *no_rebind;
int server_has_wildcard;
int serverarraysz, serverarrayhwm;
struct ipsets *ipsets;