summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dnsfunnel/dnsfunneld_process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dnsfunnel/dnsfunneld_process.c b/src/dnsfunnel/dnsfunneld_process.c
index f9055ac..13600dd 100644
--- a/src/dnsfunnel/dnsfunneld_process.c
+++ b/src/dnsfunnel/dnsfunneld_process.c
@@ -60,6 +60,7 @@ static inline unsigned int truncate_packet (char *s, unsigned int olen)
hdr.counts.an -= counts.an ;
hdr.counts.ns -= counts.ns ;
hdr.counts.nr -= counts.nr ;
+ hdr.tc = 1 ;
s6dns_message_header_pack(s, &hdr) ;
return pos ;
}