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

4330. [protocol] Identify the PAD option as "PAD" when printing out

a message.
This commit is contained in:
Mark Andrews
2016-03-10 16:53:06 +11:00
parent 3d8078255f
commit 33a4294f44
3 changed files with 10 additions and 4 deletions

View File

@@ -3393,6 +3393,8 @@ dns_message_pseudosectiontotext(dns_message_t *msg,
continue;
}
ADD_STRING(target, "; EXPIRE");
} else if (optcode == DNS_OPT_PAD) {
ADD_STRING(target, "; PAD");
} else {
ADD_STRING(target, "; OPT=");
snprintf(buf, sizeof(buf), "%u", optcode);