X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=net%2Fdns.h;h=79ac76f590dc5cae6b91e510a908a48632fd970c;hb=23c648982b88725f9e2bab4294a7ca8ea368e3bc;hp=c4e96afa0621d783482f8f04865d6f576d5460bf;hpb=b8d7652c81689a69bc6eaa206cf875bbe632831c;p=u-boot diff --git a/net/dns.h b/net/dns.h index c4e96afa06..79ac76f590 100644 --- a/net/dns.h +++ b/net/dns.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Masami Komiya 2005 * Copyright 2009, Robin Getz - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DNS_H__ @@ -29,7 +28,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 */