mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
systemd-resolve: use plural "DNS Servers"
Usually multiple DNS servers are configured, and it looks strange to have singular in the heading.
This commit is contained in:
parent
e306f2df03
commit
7b7c1aacf6
@ -1229,8 +1229,8 @@ static int status_ifindex(sd_bus *bus, int ifindex, const char *name, bool *empt
|
||||
yes_no(link_info.dnssec_supported));
|
||||
|
||||
STRV_FOREACH(i, link_info.dns) {
|
||||
printf(" %s %s\n",
|
||||
i == link_info.dns ? "DNS Server:" : " ",
|
||||
printf(" %s %s\n",
|
||||
i == link_info.dns ? "DNS Servers:" : " ",
|
||||
*i);
|
||||
}
|
||||
|
||||
@ -1412,8 +1412,8 @@ static int status_global(sd_bus *bus, bool *empty_line) {
|
||||
|
||||
printf("%sGlobal%s\n", ansi_highlight(), ansi_normal());
|
||||
STRV_FOREACH(i, global_info.dns) {
|
||||
printf(" %s %s\n",
|
||||
i == global_info.dns ? "DNS Server:" : " ",
|
||||
printf(" %s %s\n",
|
||||
i == global_info.dns ? "DNS Servers:" : " ",
|
||||
*i);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user