1
0
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:
Zbigniew Jędrzejewski-Szmek 2016-06-28 13:51:30 -04:00
parent e306f2df03
commit 7b7c1aacf6

View File

@ -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);
}