Signed-off-by: Felix Fietkau <nbd@openwrt.org>
void *rdata_ptr, *txt_ptr;
int host_len = 0;
+ static char rdata_buffer[MAX_DATA_LEN + 1];
+
if (!(a->class & CLASS_IN))
return;
#include "service.h"
#include "interface.h"
-char rdata_buffer[MAX_DATA_LEN + 1];
static char name_buffer[MAX_NAME_LEN + 1];
const char*
struct interface;
-extern char rdata_buffer[MAX_DATA_LEN + 1];
-
void dns_send_question(struct interface *iface, const char *question, int type);
void dns_init_answer(void);
void dns_add_answer(int type, const uint8_t *rdata, uint16_t rdlength);