Compare commits

...

2 Commits

Author SHA1 Message Date
Will Fleming d5d5b3f4a7 man: fix typo in systemd.unit man page
This commit fixes a minor typo: "setttings" -> "settings".
2020-02-06 10:50:57 +09:00
Mike Gilbert 6b2fd86fd1 network: remove unnecessary link->ifname from debug log statements
Since 98b0299479, we log the interface
name automatically via log_link_debug().

Fixes: https://github.com/systemd/systemd/issues/14782
2020-02-06 00:15:50 +00:00
2 changed files with 4 additions and 4 deletions

View File

@ -730,7 +730,7 @@
<listitem><para>These two settings expect a space-separated list of unit names. They may be specified <listitem><para>These two settings expect a space-separated list of unit names. They may be specified
more than once, in which case dependencies for all listed names are created.</para> more than once, in which case dependencies for all listed names are created.</para>
<para>Those two setttings configure ordering dependencies between units. If unit <para>Those two settings configure ordering dependencies between units. If unit
<filename>foo.service</filename> contains the setting <option>Before=bar.service</option> and both <filename>foo.service</filename> contains the setting <option>Before=bar.service</option> and both
units are being started, <filename>bar.service</filename>'s start-up is delayed until units are being started, <filename>bar.service</filename>'s start-up is delayed until
<filename>foo.service</filename> has finished starting up. <varname>After=</varname> is the inverse <filename>foo.service</filename> has finished starting up. <varname>After=</varname> is the inverse

View File

@ -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; size_t n_addresses = 0, n_allocated = 0;
unsigned i; 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) if (!link->network)
return 0; return 0;
@ -99,7 +99,7 @@ static int link_push_uplink_ntp_to_dhcp_server(Link *link, sd_dhcp_server *s) {
if (!link->network) if (!link->network)
return 0; 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) { STRV_FOREACH(a, link->network->ntp) {
union in_addr_union ia; 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) if (!link->network)
return 0; 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) { STRV_FOREACH(a, link->network->sip) {
union in_addr_union ia; union in_addr_union ia;