mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
dns/nsd: Fix build with DNSTAP option enabled
PR: 233890 Submitted by: jaap@NLnetLabs.nl (maintainer) Reported by: r00t@kaba1ah.org
This commit is contained in:
parent
4c65375869
commit
3335ef2bae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487182
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= nsd
|
||||
PORTVERSION= 4.1.26
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= dns ipv6
|
||||
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \
|
||||
ftp://ftp.rhnet.is/pub/nsd/
|
||||
|
11
dns/nsd/files/patch-dnstap_dnstap.c
Normal file
11
dns/nsd/files/patch-dnstap_dnstap.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- dnstap/dnstap.c.orig 2018-12-09 20:25:39 UTC
|
||||
+++ dnstap/dnstap.c
|
||||
@@ -319,7 +319,7 @@ dt_msg_fill_net(struct dt_msg *dm,
|
||||
*has_port = 1;
|
||||
} else if (ss->ss_family == AF_INET) {
|
||||
#else
|
||||
- if (ss->ss_family == AF_INET) {
|
||||
+ if (ss->sin_family == AF_INET) {
|
||||
#endif /* INET6 */
|
||||
struct sockaddr_in *s = (struct sockaddr_in *) ss;
|
||||
|
Loading…
Reference in New Issue
Block a user