mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-23 05:43:32 +02:00
fixed dnsd answer
This commit is contained in:
parent
781545dd02
commit
f26723ff2c
1 changed files with 0 additions and 4 deletions
4
dnsd.c
4
dnsd.c
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue