From: Mark Andrews Date: Thu, 9 Dec 2010 04:17:15 +0000 (+0000) Subject: add comment X-Git-Tag: v9.8.0-P1~268 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=b44bb860681d088bb487e60c736a548295801fb1;p=thirdparty%2Fbind9.git add comment --- diff --git a/lib/dns/dns64.c b/lib/dns/dns64.c index 7166fdf3898..b0d502079ed 100644 --- a/lib/dns/dns64.c +++ b/lib/dns/dns64.c @@ -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 @@ -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. */