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

@@ -102,10 +102,11 @@
#define DNS_MESSAGEEXTFLAG_DO 0x8000U
/*%< EDNS0 extended OPT codes */
#define DNS_OPT_NSID 0x0003 /*%< NSID opt code */
#define DNS_OPT_CLIENT_SUBNET 0x0008 /*%< client subnet opt code */
#define DNS_OPT_EXPIRE 0x0009 /*%< EXPIRE opt code */
#define DNS_OPT_COOKIE 0x000a /*%< COOKIE opt code */
#define DNS_OPT_NSID 3 /*%< NSID opt code */
#define DNS_OPT_CLIENT_SUBNET 8 /*%< client subnet opt code */
#define DNS_OPT_EXPIRE 9 /*%< EXPIRE opt code */
#define DNS_OPT_COOKIE 10 /*%< COOKIE opt code */
#define DNS_OPT_PAD 12 /*%< PAD opt code */
/*%< Experimental options [65001...65534] as per RFC6891 */