Add simple "Fall through" comment to the announce_timer function switch
[project/mdnsd.git] / dns.h
diff --git a/dns.h b/dns.h
index 791159f7b7a5b571006809a27aeb64807b5f0257..6210e0e52868d83892202714b1be2917762b3326 100644 (file)
--- a/dns.h
+++ b/dns.h
@@ -55,25 +55,25 @@ 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;
 extern int cfg_no_subnet;
 
-void dns_send_question(struct interface *iface, const char *question, int type, int unicast);
+void dns_send_question(struct interface *iface, const char *question, int type, int multicast);
 void dns_init_answer(void);
 void dns_add_answer(int type, const uint8_t *rdata, uint16_t rdlength, int ttl);
 void dns_send_answer(struct interface *iface, const char *answer);