Home
last modified time | relevance | path

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

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