aboutsummaryrefslogtreecommitdiff
path: root/src/dns.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-04-30 16:42:29 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-04-30 16:42:29 +0200
commitba7c93085b419d1453dfb722b570245c4a725c83 (patch)
tree03d94fe8a02bd209737433f4b3ad9c47f4e21fcf /src/dns.h
parent233f169f507e31472b23a64269878557d6f0f9fe (diff)
downloaddns-ba7c93085b419d1453dfb722b570245c4a725c83.tar.gz
now returns static A record
Diffstat (limited to 'src/dns.h')
-rw-r--r--src/dns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.h b/src/dns.h
index c44fb29..e8b55c2 100644
--- a/src/dns.h
+++ b/src/dns.h
@@ -124,7 +124,7 @@ struct dns_question {
};
struct dns_answer {
- char* qname; //in qname format
+ const char* qname; //in qname format
int qname_len;
uint16_t type;