diff options
Diffstat (limited to 'dns/mydns/files/patch-src_mydns_recursive.c')
-rw-r--r-- | dns/mydns/files/patch-src_mydns_recursive.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dns/mydns/files/patch-src_mydns_recursive.c b/dns/mydns/files/patch-src_mydns_recursive.c new file mode 100644 index 000000000000..b86c0f2b57df --- /dev/null +++ b/dns/mydns/files/patch-src_mydns_recursive.c @@ -0,0 +1,12 @@ +--- src/mydns/recursive.c.orig Mon Apr 30 08:17:52 2007 ++++ src/mydns/recursive.c Mon Apr 30 08:22:13 2007 +@@ -109,8 +109,7 @@ + #endif + + /* Send to remote server */ +- if ((rv = sendto(t->recursive_fd, query, querylen, 0, +- (struct sockaddr *)&recursive_sa, sizeof(struct sockaddr_in))) != querylen) ++ if ((rv = send(t->recursive_fd, query, querylen, 0)) != querylen) + { + if (errno == EAGAIN) + { |