blob: be19e337f3d91ca5668028345cdb4bf5d616c115 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4213
--- nsd-4.1.26/dnstap/dnstap.c
+++ nsd-4.1.26/dnstap/dnstap.c
@@ -319,7 +319,7 @@
*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;
|