|
@@ -1,3 +1,5 @@
|
|
1
|
+#include <netinet/in.h>
|
|
2
|
+
|
1
|
3
|
#include "includes.h"
|
2
|
4
|
|
3
|
5
|
#include "ntkresolv.h"
|
|
@@ -295,7 +297,7 @@ void opts_set_question(char *arg)
|
295
|
297
|
ntkresolv_safe_exit(1);
|
296
|
298
|
}
|
297
|
299
|
G_ALIGN(16);
|
298
|
|
- memcpy(GQT->qstdata,&i6a.in6_u,16);
|
|
300
|
+ memcpy(GQT->qstdata,&i6a.__in6_u,16);
|
299
|
301
|
GQT->ipv=ANDNS_IPV6;
|
300
|
302
|
return;
|
301
|
303
|
case QTYPE_G:
|
|
@@ -377,7 +379,7 @@ void ip_bin_to_str(void *data,char *dst)
|
377
|
379
|
via=(void*)(&ia);
|
378
|
380
|
break;
|
379
|
381
|
case AF_INET6:
|
380
|
|
- memcpy(&(i6a.in6_u),data,16);
|
|
382
|
+ memcpy(&(i6a.__in6_u),data,16);
|
381
|
383
|
via=(void*)(&i6a);
|
382
|
384
|
break;
|
383
|
385
|
default:
|