Commit d6d42e08 authored by Beniamino Galvani's avatar Beniamino Galvani
Browse files

libnm-core: add 'use-vc' DNS option

The option forces the use of TCP for DNS resolutions.
parent 2b394d00
......@@ -59,6 +59,7 @@ const NMUtilsDNSOptionDesc _nm_utils_dns_option_descs[] = {
{ NM_SETTING_DNS_OPTION_SINGLE_REQUEST, FALSE, FALSE },
{ NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN, FALSE, FALSE },
{ NM_SETTING_DNS_OPTION_NO_TLD_QUERY, FALSE, FALSE },
{ NM_SETTING_DNS_OPTION_USE_VC, FALSE, FALSE },
{ NULL, FALSE, FALSE }
};
......
......@@ -163,6 +163,7 @@ void nm_ip_route_set_attribute (NMIPRoute *route,
#define NM_SETTING_DNS_OPTION_SINGLE_REQUEST "single-request"
#define NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN "single-request-reopen"
#define NM_SETTING_DNS_OPTION_NO_TLD_QUERY "no-tld-query"
#define NM_SETTING_DNS_OPTION_USE_VC "use-vc"
struct _NMSettingIPConfig {
NMSetting parent;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment