From d10e669c55e2c7e3e6eec6587c95ec0a4e53e84a Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Wed, 25 Oct 2017 21:34:24 -0700 Subject: [PATCH] [v9_10] clean up DNS_MESSAGETEXTFLAG comments (cherry picked from commit 89d1777560de61f4820e564c21e12005c7e530ed) --- lib/dns/include/dns/message.h | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/lib/dns/include/dns/message.h b/lib/dns/include/dns/message.h index 9917a50856..83ae13182c 100644 --- a/lib/dns/include/dns/message.h +++ b/lib/dns/include/dns/message.h @@ -144,7 +144,6 @@ typedef int dns_messagetextflag_t; #define DNS_MESSAGETEXTFLAG_NOHEADERS 0x0002 #define DNS_MESSAGETEXTFLAG_ONESOA 0x0004 #define DNS_MESSAGETEXTFLAG_OMITSOA 0x0008 -#define DNS_MESSAGETEXTFLAG_COMMENTDATA 0x0010 /* * Dynamic update names for these sections. @@ -382,21 +381,20 @@ dns_message_totext(dns_message_t *msg, const dns_master_style_t *style, /*%< * Convert all sections of message 'msg' to a cleartext representation * - * Notes: - * \li In flags, If #DNS_MESSAGETEXTFLAG_OMITDOT is set, then the - * final '.' in absolute names will not be emitted. If - * #DNS_MESSAGETEXTFLAG_NOCOMMENTS is cleared, lines beginning - * with ";;" will be emitted indicating section name. If - * #DNS_MESSAGETEXTFLAG_NOHEADERS is cleared, header lines will - * be emitted. + * Notes on flags: + *\li If #DNS_MESSAGETEXTFLAG_NOCOMMENTS is cleared, lines beginning with + * ";;" will be emitted indicating section name. + *\li If #DNS_MESSAGETEXTFLAG_NOHEADERS is cleared, header lines will be + * emitted. + *\li If #DNS_MESSAGETEXTFLAG_ONESOA is set then only print the first + * SOA record in the answer section. + *\li If *#DNS_MESSAGETEXTFLAG_OMITSOA is set don't print any SOA records + * in the answer section. * - * If #DNS_MESSAGETEXTFLAG_ONESOA is set then only print the - * first SOA record in the answer section. If - * #DNS_MESSAGETEXTFLAG_OMITSOA is set don't print any SOA records - * in the answer section. These are useful for suppressing the - * display of the second SOA record in a AXFR by setting - * #DNS_MESSAGETEXTFLAG_ONESOA on the first message in a AXFR stream - * and #DNS_MESSAGETEXTFLAG_OMITSOA on subsequent messages. + * The SOA flags are useful for suppressing the display of the second + * SOA record in an AXFR by setting #DNS_MESSAGETEXTFLAG_ONESOA on the + * first message in an AXFR stream and #DNS_MESSAGETEXTFLAG_OMITSOA on + * subsequent messages. * * Requires: *