aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-01-25 00:24:33 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-01-25 00:24:33 +0000
commit1e2ca4a777408aa6a7673476dd3c4a9a93e8f8a2 (patch)
tree8af867a8d494260e8ec2e841c59e4de983b9c38d /dns
parentb93926d6a6bb51bdd21474319890b8c6bb263de3 (diff)
downloadports-1e2ca4a777408aa6a7673476dd3c4a9a93e8f8a2.tar.gz
ports-1e2ca4a777408aa6a7673476dd3c4a9a93e8f8a2.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/dnstracer/files/patch-dnstracer.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/dns/dnstracer/files/patch-dnstracer.c b/dns/dnstracer/files/patch-dnstracer.c
new file mode 100644
index 000000000000..7262031e6546
--- /dev/null
+++ b/dns/dnstracer/files/patch-dnstracer.c
@@ -0,0 +1,11 @@
+--- dnstracer.c.orig Sun Jan 25 11:23:52 2004
++++ dnstracer.c Sun Jan 25 11:24:01 2004
+@@ -729,7 +729,7 @@
+ hints.ai_family = PF_INET;
+ hints.ai_socktype = SOCK_DGRAM;
+ error = getaddrinfo(global_source_address, 0, &hints, &src_res);
+- if (error == EAI_NODATA) {
++ if (error == EAI_NONAME) {
+ hints.ai_flags = 0;
+ error = getaddrinfo(global_source_address, 0, &hints, &src_res);
+ }