Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dlease.c439 char *new_name = NULL, *new_fqdn = NULL; in lease_set_hostname() local
461 if (suffix && (new_fqdn = whine_malloc(strlen(new_name) + strlen(suffix) + 2))) in lease_set_hostname()
463 strcpy(new_fqdn, name); in lease_set_hostname()
464 strcat(new_fqdn, "."); in lease_set_hostname()
465 strcat(new_fqdn, suffix); in lease_set_hostname()
474 if (!new_fqdn || !lease_tmp->fqdn || !hostname_isequal(lease_tmp->fqdn, new_fqdn) ) in lease_set_hostname()
486 free(new_fqdn); in lease_set_hostname()
499 lease->fqdn = new_fqdn; in lease_set_hostname()
/external/dhcpcd-6.8.2/dhcpcd-hooks/
D30-hostname122 if [ -n "$new_fqdn" ]; then
124 try_hostname "$new_fqdn"
126 try_hostname "${new_fqdn%%.*}"
148 new_fqdn="$new_dhcp6_fqdn"
D20-resolv.conf95 elif [ "$new_fqdn" != "${new_fqdn#*.}" ]; then