mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-22 02:02:20 +00:00
Fix for api change ipv6 structure
This commit is contained in:
parent
e139122168
commit
054ca25ec6
@ -295,7 +295,7 @@ void opts_set_question(char *arg)
|
|||||||
ntkresolv_safe_exit(1);
|
ntkresolv_safe_exit(1);
|
||||||
}
|
}
|
||||||
G_ALIGN(16);
|
G_ALIGN(16);
|
||||||
memcpy(GQT->qstdata,&i6a.__in6_u,16);
|
memcpy(GQT->qstdata,&i6a.in6_u,16);
|
||||||
GQT->ipv=ANDNS_IPV6;
|
GQT->ipv=ANDNS_IPV6;
|
||||||
return;
|
return;
|
||||||
case QTYPE_G:
|
case QTYPE_G:
|
||||||
@ -377,7 +377,7 @@ void ip_bin_to_str(void *data,char *dst)
|
|||||||
via=(void*)(&ia);
|
via=(void*)(&ia);
|
||||||
break;
|
break;
|
||||||
case AF_INET6:
|
case AF_INET6:
|
||||||
memcpy(&(i6a.__in6_u),data,16);
|
memcpy(&(i6a.in6_u),data,16);
|
||||||
via=(void*)(&i6a);
|
via=(void*)(&i6a);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user