2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

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

This commit is contained in:
Mark Andrews
2010-05-13 00:40:46 +00:00
parent 7a1448aa57
commit e18c62b1da
3 changed files with 53 additions and 39 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.236 2010/05/12 01:31:37 marka Exp $ */
/* $Id: dig.c,v 1.237 2010/05/13 00:40:46 marka Exp $ */
/*! \file */
@@ -513,6 +513,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",