mirror of https://github.com/getdnsapi/getdns.git
Set correct unbound option for edns payload size
This commit is contained in:
parent
bea07d43b7
commit
c690e3907e
|
@ -1026,8 +1026,8 @@ getdns_context_set_upstream_recursive_servers(struct getdns_context *context,
|
||||||
static void
|
static void
|
||||||
set_ub_edns_maximum_udp_payload_size(struct getdns_context* context,
|
set_ub_edns_maximum_udp_payload_size(struct getdns_context* context,
|
||||||
uint16_t value) {
|
uint16_t value) {
|
||||||
/* max-udp-size */
|
/* edns-buffer-size */
|
||||||
set_ub_number_opt(context, "max-udp-size:", value);
|
set_ub_number_opt(context, "edns-buffer-size:", value);
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* getdns_context_set_edns_maximum_udp_payload_size
|
* getdns_context_set_edns_maximum_udp_payload_size
|
||||||
|
|
Loading…
Reference in New Issue