aboutsummaryrefslogtreecommitdiff
path: root/src/dns.h
diff options
context:
space:
mode:
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;