<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -101,7 +101,7 @@ static int thisudp(struct dns_transmit *d)
 
   /* open a new socket if there isn't already one */
   if (! d-&gt;s1) {
-    /* choose a random port number for this socket */
+    /* choose a random query number for all requests */
     d-&gt;query[2] = dns_random(256);
     d-&gt;query[3] = dns_random(256);
 </diff>
      <filename>dns_transmit.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4c155b646086305964868ba2e4e9aaec8be79fcb</id>
    </parent>
  </parents>
  <author>
    <name>Nick Andrew</name>
    <email>nick@nick-andrew.net</email>
  </author>
  <url>http://github.com/nickandrew/djbdns/commit/306dcda458201e8fff4ac2af708eae944a9c12ba</url>
  <id>306dcda458201e8fff4ac2af708eae944a9c12ba</id>
  <committed-date>2009-06-17T16:44:53-07:00</committed-date>
  <authored-date>2009-06-17T16:44:53-07:00</authored-date>
  <message>Fix comment when creating socket

The random number obtained is used as the DNS request id, not the
socket's local port number. That's done by the call to randombind().

Signed-off-by: Nick Andrew &lt;nick@nick-andrew.net&gt;</message>
  <tree>00325d0b93adfab97fe6e85bf7167d4e5798aafd</tree>
  <committer>
    <name>Nick Andrew</name>
    <email>nick@nick-andrew.net</email>
  </committer>
</commit>
