aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns-recursor/files/patch-sendmsg_fix
diff options
context:
space:
mode:
Diffstat (limited to 'dns/powerdns-recursor/files/patch-sendmsg_fix')
-rw-r--r--dns/powerdns-recursor/files/patch-sendmsg_fix23
1 files changed, 0 insertions, 23 deletions
diff --git a/dns/powerdns-recursor/files/patch-sendmsg_fix b/dns/powerdns-recursor/files/patch-sendmsg_fix
deleted file mode 100644
index 7646b7bc1c51..000000000000
--- a/dns/powerdns-recursor/files/patch-sendmsg_fix
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc
-index fdee0f1..23fca87 100644
---- pdns_recursor.cc
-+++ pdns_recursor.cc
-@@ -688,6 +688,8 @@ void startDoResolve(void *p)
- fillMSGHdr(&msgh, &iov, cbuf, 0, (char*)&*packet.begin(), packet.size(), &dc->d_remote);
- if(dc->d_local.sin4.sin_family)
- addCMsgSrcAddr(&msgh, cbuf, &dc->d_local);
-+ else
-+ msgh.msg_control=NULL;
- sendmsg(dc->d_socket, &msgh, 0);
- if(!SyncRes::s_nopacketcache && !variableAnswer ) {
- t_packetCache->insertResponsePacket(string((const char*)&*packet.begin(), packet.size()),
-@@ -961,6 +963,9 @@ string* doProcessUDPQuestion(const std::string& question, const ComboAddress& fr
- if(destaddr.sin4.sin_family) {
- addCMsgSrcAddr(&msgh, cbuf, &destaddr);
- }
-+ else {
-+ msgh.msg_control=NULL;
-+ }
- sendmsg(fd, &msgh, 0);
-
- if(response.length() >= sizeof(struct dnsheader)) {