summaryrefslogtreecommitdiff
path: root/dns/dnstracer
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/dnstracer
parentOne of the source files is actually a C source, not F77 (gruser.c). This (diff)
Fix build on -current due to removal of EAI_NODATA
Notes
Notes: svn path=/head/; revision=98989
Diffstat (limited to 'dns/dnstracer')
-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);
+ }