2888. [bug] Only the first EDNS option was displayed. [RT #21273]

This commit is contained in:
Mark Andrews
2010-05-13 00:43:37 +00:00
parent 2e177ddd6c
commit 6fc85eeab8
3 changed files with 53 additions and 39 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.225.26.6 2010/05/12 23:48:30 tbox Exp $ */
/* $Id: dig.c,v 1.225.26.7 2010/05/13 00:43:37 marka Exp $ */
/*! \file */
@@ -505,6 +505,8 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
printf(" ad");
if ((msg->flags & DNS_MESSAGEFLAG_CD) != 0)
printf(" cd");
if ((msg->flags & 0x0040U) != 0)
printf("; MBZ: 0x4");
printf("; QUERY: %u, ANSWER: %u, "
"AUTHORITY: %u, ADDITIONAL: %u\n",