]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add comment
authorMark Andrews <marka@isc.org>
Thu, 9 Dec 2010 04:17:15 +0000 (04:17 +0000)
committerMark Andrews <marka@isc.org>
Thu, 9 Dec 2010 04:17:15 +0000 (04:17 +0000)
lib/dns/dns64.c

index 7166fdf38985f29844618354e54650c8f3f19e94..b0d502079edfaa50e4a445254526a4386ec759a2 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dns64.c,v 1.4 2010/12/09 04:01:43 marka Exp $ */
+/* $Id: dns64.c,v 1.5 2010/12/09 04:17:15 marka Exp $ */
 
 #include <config.h>
 
@@ -169,6 +169,7 @@ dns_dns64_aaaafroma(const dns_dns64_t *dns64, const isc_netaddr_t *reqaddr,
        INSIST(nbytes <= 12);
        /* Copy prefix. */
        memcpy(aaaa, dns64->bits, nbytes);
+       /* Bits 64-71 are zeros. draft-ietf-behave-address-format-04 */
        if (nbytes == 8)
                aaaa[nbytes++] = 0;
        /* Copy mapped address. */