2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

1424. [bug] EDNS version not being correctly printed.

This commit is contained in:
Mark Andrews 2003-01-24 04:25:53 +00:00
parent 03760eeb54
commit a207a2835e
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,5 @@
1424. [bug] EDNS version not being correctly printed.
1423. [contrib] queryperf: added A6 and SRV.
1422. [func] Log name/type/class when denying a query. [RT #4663]

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: message.c,v 1.215 2002/11/27 09:52:54 marka Exp $ */
/* $Id: message.c,v 1.216 2003/01/24 04:25:53 marka Exp $ */
/***
*** Imports
@ -2966,8 +2966,7 @@ dns_message_pseudosectiontotext(dns_message_t *msg,
ADD_STRING(target, ";; OPT PSEUDOSECTION:\n");
ADD_STRING(target, "; EDNS: version: ");
snprintf(buf, sizeof(buf), "%u",
(unsigned int)((ps->ttl &
0x00ff0000 >> 16)));
(unsigned int)((ps->ttl & 0x00ff0000) >> 16));
ADD_STRING(target, buf);
ADD_STRING(target, ", flags:");
if ((ps->ttl & DNS_MESSAGEEXTFLAG_DO) != 0)