1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-22 21:16:07 +03:00

fixed dnsd answer

This commit is contained in:
Bjorn Andersson 2006-06-06 00:07:35 +00:00
parent 781545dd02
commit f26723ff2c

4
dnsd.c
View File

@ -215,10 +215,6 @@ dnsd_respond(int fd, short id, struct sockaddr_in from)
memcpy(p, outbuf, outbuflen);
p += outbuflen;
int f;
f = open("moo", O_WRONLY | O_CREAT,
len = p - buf;
sendto(fd, buf, len, 0, (struct sockaddr*)&from, sizeof(from));