From: Tony Finch Date: Wed, 9 Nov 2022 16:51:34 +0000 (+0000) Subject: Clean up remnants of label types X-Git-Tag: v9.19.8~52^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0c969234174e3c3d93016ea4a12a1c467df0698;p=thirdparty%2Fbind9.git Clean up remnants of label types There were a few comments referring obliquely to different kinds of labels, which became obsolete a long time ago. --- diff --git a/lib/dns/include/dns/name.h b/lib/dns/include/dns/name.h index 1cf7129b810..036a151f30b 100644 --- a/lib/dns/include/dns/name.h +++ b/lib/dns/include/dns/name.h @@ -31,9 +31,9 @@ * makes adding names to messages easy. Having much of the server know * the representation would be perilous, and we certainly don't want each * user of names to be manipulating such a low-level structure. This is - * where the Names and Labels module comes in. The module allows name or - * label handles to be created and attached to uncompressed wire format - * regions. All name operations and conversions are done through these + * where the Names and Labels module comes in. The module allows name + * handles to be created and attached to uncompressed wire format + * regions. All name operations and conversions are done through these * handles. * * MP: @@ -56,7 +56,6 @@ * Standards: *\li RFC1035 *\li Draft EDNS0 (0) - *\li Draft Binary Labels (2) * */ @@ -76,18 +75,11 @@ ISC_LANG_BEGINDECLS -/***** -***** Labels -***** -***** A 'label' is basically a region. It contains one DNS wire format -***** label of type 00 (ordinary). -*****/ - /***** ***** Names ***** ***** A 'name' is a handle to a binary region. It contains a sequence of one -***** or more DNS wire format labels of type 00 (ordinary). +***** or more DNS wire format labels. ***** Note that all names are not required to end with the root label, ***** as they are in the actual DNS wire protocol. *****/