chiark / gitweb /
change type for address family to "int"
[elogind.git] / src / resolve / resolved-dns-packet.h
index 565c67c74610d175f815286a6f06139a23456d33..4fd2d408ce84c41e968866e12273906675262140 100644 (file)
@@ -70,9 +70,9 @@ struct DnsPacket {
 
         /* Packet reception meta data */
         int ifindex;
-        unsigned char family;
+        int family;
         union in_addr_union sender, destination;
-        unsigned ttl;
+        uint32_t ttl;
 };
 
 static inline uint8_t* DNS_PACKET_DATA(DnsPacket *p) {