dns: skip padding record

This commit is contained in:
Nick Peng
2022-11-11 00:22:35 +08:00
parent 9974c50dbb
commit 934701941b
2 changed files with 4 additions and 0 deletions

View File

@@ -76,6 +76,7 @@ typedef enum dns_opt_code {
DNS_OPT_T_ECS = 8, // OPT ECS
DNS_OPT_T_COOKIE = 10, //OPT Cookie
DNS_OPT_T_TCP_KEEPALIVE = 11,
DNS_OPT_T_PADDING = 12,
DNS_OPT_T_ALL = 255
} dns_opt_code_t;