X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=dns.h;h=4425d4cb8a36ae338b077c78bd19721f63ea25e1;hb=9cbbb141068c12ed032736e20f982e2a0fb43edc;hp=791159f7b7a5b571006809a27aeb64807b5f0257;hpb=258039240037c81a77cf92517f5ba22fd0a2601d;p=project%2Fmdnsd.git diff --git a/dns.h b/dns.h index 791159f..4425d4c 100644 --- a/dns.h +++ b/dns.h @@ -55,19 +55,19 @@ struct dns_srv_data { uint16_t priority; uint16_t weight; uint16_t port; -} __attribute__((packed, aligned(2))); +} __attribute__((packed)); struct dns_answer { uint16_t type; uint16_t class; uint32_t ttl; uint16_t rdlength; -} __attribute__((packed, aligned(2))); +} __attribute__((packed)); struct dns_question { uint16_t type; uint16_t class; -} __attribute__((packed, aligned(2))); +} __attribute__((packed)); struct interface; extern int cfg_proto;