1
0
Fork 0
mirror of https://github.com/yarrick/iodine.git synced 2025-04-11 21:10:56 +00:00
This commit is contained in:
Julian Kranz 2012-01-26 23:43:05 +01:00 committed by Barak A. Pearlmutter
parent a1736ba15a
commit 7c3374bcfb

View file

@ -2220,7 +2220,10 @@ write_dns(int fd, struct query *q, char *data, int datalen, char downenc)
inet_ntoa(tempin->sin_addr), q->type, q->name, datalen); inet_ntoa(tempin->sin_addr), q->type, q->name, datalen);
} }
sendto(fd, buf, len, 0, (struct sockaddr*)&q->from, q->fromlen); // printf("write_dns()");
// ipv6_print(&q->from.v6)
sendto(fd, buf, len, 0, (struct sockaddr*)&(q->from.v6), q->fromlen);
} }
static void static void