diff options
Diffstat (limited to 'net/dns.h')
-rw-r--r-- | net/dns.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns.h b/net/dns.h index c4e96afa062..c55a5c1b046 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 */ |