summaryrefslogtreecommitdiff
path: root/net/dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/dns.h')
-rw-r--r--net/dns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns.h b/net/dns.h
index c4e96afa06..c55a5c1b04 100644
--- a/net/dns.h
+++ b/net/dns.h
@@ -29,7 +29,7 @@ struct header {
uint16_t nauth; /* Authority PRs */
uint16_t nother; /* Other PRs */
unsigned char data[1]; /* Data, variable length */
-};
+} __attribute__((packed));
void dns_start(void); /* Begin DNS */