Use correct packet-size limit in make_local_answer()

This commit is contained in:
Simon Kelley
2021-06-21 15:59:07 +01:00
parent 25ff956c7d
commit 6d1edd8d32
3 changed files with 7 additions and 6 deletions

View File

@@ -1749,7 +1749,7 @@ int lookup_domain(char *qdomain, int flags, int *lowout, int *highout);
int filter_servers(int seed, int flags, int *lowout, int *highout);
int is_local_answer(time_t now, int first, char *name);
size_t make_local_answer(int flags, int gotname, size_t size, struct dns_header *header,
char *name, int first, int last);
char *name, char *limit, int first, int last);
int server_samegroup(struct server *a, struct server *b);
#ifdef HAVE_DNSSEC
int dnssec_server(struct server *server, char *keyname, int *firstp, int *lastp);