X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=net%2Fdns.h;h=c55a5c1b04660ab4bf49a73d26a71f1005f2e2b3;hb=c6fa5df6aab48b12803ea9634b7f7becdc90810d;hp=c4e96afa0621d783482f8f04865d6f576d5460bf;hpb=e536ab8849b2b4f6d68bbc8e1d1f9bc033db06bd;p=u-boot 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 */