mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-27 14:03:43 +03:00
network: remove unnecessary link->ifname from debug log statements
Since 98b0299479a68ffd414888368907fc776a46b82a, we log the interface name automatically via log_link_debug(). Fixes: https://github.com/systemd/systemd/issues/14782
This commit is contained in:
parent
28ca867abd
commit
6b2fd86fd1
@ -45,7 +45,7 @@ static int link_push_uplink_dns_to_dhcp_server(Link *link, sd_dhcp_server *s) {
|
||||
size_t n_addresses = 0, n_allocated = 0;
|
||||
unsigned i;
|
||||
|
||||
log_link_debug(link, "Copying DNS server information from %s", link->ifname);
|
||||
log_link_debug(link, "Copying DNS server information from link");
|
||||
|
||||
if (!link->network)
|
||||
return 0;
|
||||
@ -99,7 +99,7 @@ static int link_push_uplink_ntp_to_dhcp_server(Link *link, sd_dhcp_server *s) {
|
||||
if (!link->network)
|
||||
return 0;
|
||||
|
||||
log_link_debug(link, "Copying NTP server information from %s", link->ifname);
|
||||
log_link_debug(link, "Copying NTP server information from link");
|
||||
|
||||
STRV_FOREACH(a, link->network->ntp) {
|
||||
union in_addr_union ia;
|
||||
@ -148,7 +148,7 @@ static int link_push_uplink_sip_to_dhcp_server(Link *link, sd_dhcp_server *s) {
|
||||
if (!link->network)
|
||||
return 0;
|
||||
|
||||
log_link_debug(link, "Copying SIP server information from %s", link->ifname);
|
||||
log_link_debug(link, "Copying SIP server information from link");
|
||||
|
||||
STRV_FOREACH(a, link->network->sip) {
|
||||
union in_addr_union ia;
|
||||
|
Loading…
x
Reference in New Issue
Block a user