From: Zbigniew Jędrzejewski-Szmek Date: Tue, 2 Jun 2020 14:57:07 +0000 (+0200) Subject: resolvectl: do not show NTA lists in status X-Git-Tag: v246-rc1~211^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6773049a4c24fb5b55236b9eed38560210cf7ef5;p=thirdparty%2Fsystemd.git resolvectl: do not show NTA lists in status Those lists are very long and use up a significant chunk of screen real estate. But the contents are mostly static (usually they just reflect built-in configuration). Let's just not show them in 'status' output. They can still be viewed with 'nta' verb. --- diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c index d68b7ba7847..fd8c834b8b7 100644 --- a/src/resolve/resolvectl.c +++ b/src/resolve/resolvectl.c @@ -1500,10 +1500,6 @@ static int status_ifindex(sd_bus *bus, int ifindex, const char *name, StatusMode if (r < 0) return r; - r = dump_list(table, "DNSSEC NTA:", link_info.ntas); - if (r < 0) - return r; - r = table_print(table, NULL); if (r < 0) return log_error_errno(r, "Failed to print table: %m"); @@ -1745,11 +1741,6 @@ static int status_global(sd_bus *bus, StatusMode mode, bool *empty_line) { if (r < 0) return r; - strv_sort(global_info.ntas); - r = dump_list(table, "DNSSEC NTA:", global_info.ntas); - if (r < 0) - return r; - r = table_print(table, NULL); if (r < 0) return log_error_errno(r, "Failed to print table: %m");