Usually multiple DNS servers are configured, and it looks strange to have
singular in the heading.
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);
}
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);
}