Explorar el Código

ttl is a uint32_t

tags/v0.9.3
Michael Brown hace 19 años
padre
commit
3b59bf559c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/include/dns.h

+ 1
- 1
src/include/dns.h Ver fichero

@@ -64,7 +64,7 @@ struct dns_query {
64 64
 struct dns_rr_info {
65 65
 	uint16_t	type;
66 66
 	uint16_t	class;
67
-	uint16_t	ttl;
67
+	uint32_t	ttl;
68 68
 	uint16_t	rdlength;
69 69
 } __attribute__ (( packed ));
70 70
 

Loading…
Cancelar
Guardar