-fix
authorChristian Grothoff <christian@grothoff.org>
Fri, 24 Feb 2012 14:33:06 +0000 (14:33 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 24 Feb 2012 14:33:06 +0000 (14:33 +0000)
src/dns/gnunet-service-dns.c

index c3c9791a45fa5f0511cf90fa60b0fa127e359615..1f48b105a30796ff5b65bb2934ad94b59a352398 100644 (file)
@@ -1208,7 +1208,7 @@ handle_client_response (void *cls GNUNET_UNUSED,
                           0);
       }
       /* if query changed to answer, move past DNS resolution phase... */
-      if ( (RP_REQUEST_MONITOR == rr->phase) &&
+      if ( (RP_QUERY == rr->phase) &&
           (rr->payload_length > sizeof (struct GNUNET_TUN_DnsHeader)) &&
           ((struct GNUNET_DNSPARSER_Flags*)&(((struct GNUNET_TUN_DnsHeader*) rr->payload)->flags))->query_or_response == 1)
       {