client: support ECS

This commit is contained in:
Nick Peng
2022-04-30 20:22:57 +08:00
parent c92615e6cd
commit 1de5557430
4 changed files with 63 additions and 23 deletions

View File

@@ -177,7 +177,7 @@ struct dns_opt_ecs {
unsigned char source_prefix;
unsigned char scope_prefix;
unsigned char addr[DNS_RR_AAAA_LEN];
};
} __attribute__((packed));;
/* OPT COOLIE */
struct dns_opt_cookie {