Home
last modified time | relevance | path

Searched refs:dns_prop_name (Results 1 – 1 of 1) sorted by relevance

/system/core/libnetutils/
Difc_utils.c696 char dns_prop_name[PROPERTY_KEY_MAX]; in ifc_configure() local
723 snprintf(dns_prop_name, sizeof(dns_prop_name), "net.%s.dns1", ifname); in ifc_configure()
724 property_set(dns_prop_name, dns1 ? ipaddr_to_string(dns1) : ""); in ifc_configure()
725 snprintf(dns_prop_name, sizeof(dns_prop_name), "net.%s.dns2", ifname); in ifc_configure()
726 property_set(dns_prop_name, dns2 ? ipaddr_to_string(dns2) : ""); in ifc_configure()