3 @@ -1267,28 +1267,6 @@ res_nmkquery(res_state statp,
5 memset(buf, 0, HFIXEDSZ);
7 - /* We randomize the IDs every time. The old code just
8 - incremented by one after the initial randomization which
9 - still predictable if the application does multiple
12 - hp->id = htons(++statp->id);
14 - hp->id = htons(statp->id);
19 - RANDOM_BITS (randombits);
22 - gettimeofday (&tv, NULL);
23 - randombits = (tv.tv_sec << 8) ^ tv.tv_usec;
26 - while ((randombits & 0xffff) == 0);
27 - statp->id = (statp->id + randombits) & 0xffff;
30 hp->rd = (statp->options & RES_RECURSE) != 0;