mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-26 10:09:19 +02:00
fixed dnsd answer
This commit is contained in:
parent
781545dd02
commit
f26723ff2c
4
dnsd.c
4
dnsd.c
|
@ -215,10 +215,6 @@ dnsd_respond(int fd, short id, struct sockaddr_in from)
|
||||||
memcpy(p, outbuf, outbuflen);
|
memcpy(p, outbuf, outbuflen);
|
||||||
p += outbuflen;
|
p += outbuflen;
|
||||||
|
|
||||||
int f;
|
|
||||||
|
|
||||||
f = open("moo", O_WRONLY | O_CREAT,
|
|
||||||
|
|
||||||
len = p - buf;
|
len = p - buf;
|
||||||
sendto(fd, buf, len, 0, (struct sockaddr*)&from, sizeof(from));
|
sendto(fd, buf, len, 0, (struct sockaddr*)&from, sizeof(from));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue