]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
actually fill out the client ringbuffer
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 11 Mar 2015 19:17:20 +0000 (20:17 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 11 Mar 2015 19:17:57 +0000 (20:17 +0100)
pdns/dnsdist.cc

index 008680fd0c4dc941ef02c8f6ff42bb4212202172..dfe262ec8d1fca8cd9a8d2434bf581b5972502e2 100644 (file)
@@ -303,9 +303,11 @@ try
   for(;;) {
     try {
       len = recvmsg(cs->udpFD, &msgh, 0);
+      g_rings.clientRing.push_back(remote);
       if(len < (int)sizeof(struct dnsheader)) 
        continue;
 
+
       if(!acl->match(remote))
        continue;