mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-22 10:12:18 +00:00
Retyped lxlee1102's fix for #11
This commit is contained in:
parent
de85724e7b
commit
e3e0217ca9
@ -491,6 +491,9 @@ d_a_u(char *start_buf, char *buf, dns_pkt_a ** dpa_orig, int limit_len)
|
||||
if (dpa->type == T_A) {
|
||||
memcpy(dpa->rdata, buf, rdlen); /* 32bit address */
|
||||
count += rdlen;
|
||||
} else if (dpa->type == T_AAAA) {
|
||||
memcpy(dpa->rdata, buf, rdlen); /* 128bit address */
|
||||
count += rdlen;
|
||||
} else if (dpa->type == T_MX) {
|
||||
memcpy(dpa->rdata, buf, 2);
|
||||
if ((ui =
|
||||
|
Loading…
Reference in New Issue
Block a user