Home
last modified time | relevance | path

Searched refs:new_fqdn (Results 1 – 1 of 1) 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()