Searched refs:dhcpname (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/network/ |
D | networkd-dhcp6.c | 281 const char *dhcpname = NULL; in dhcp6_address_acquired() local 284 (void) sd_dhcp6_lease_get_fqdn(link->dhcp6_lease, &dhcpname); in dhcp6_address_acquired() 286 if (dhcpname) { in dhcp6_address_acquired() 287 r = shorten_overlong(dhcpname, &hostname); in dhcp6_address_acquired() 289 …nk_warning_errno(link, r, "Unable to shorten overlong DHCP hostname '%s', ignoring: %m", dhcpname); in dhcp6_address_acquired() 291 …k_notice(link, "Overlong DHCP hostname received, shortened from '%s' to '%s'", dhcpname, hostname); in dhcp6_address_acquired()
|
D | networkd-dhcp4.c | 1012 const char *dhcpname = NULL; in dhcp_lease_acquired() local 1016 dhcpname = link->network->dhcp_hostname; in dhcp_lease_acquired() 1018 (void) sd_dhcp_lease_get_hostname(lease, &dhcpname); in dhcp_lease_acquired() 1020 if (dhcpname) { in dhcp_lease_acquired() 1021 r = shorten_overlong(dhcpname, &hostname); in dhcp_lease_acquired() 1023 …nk_warning_errno(link, r, "Unable to shorten overlong DHCP hostname '%s', ignoring: %m", dhcpname); in dhcp_lease_acquired() 1025 …k_notice(link, "Overlong DHCP hostname received, shortened from '%s' to '%s'", dhcpname, hostname); in dhcp_lease_acquired()
|