From 6773049a4c24fb5b55236b9eed38560210cf7ef5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 2 Jun 2020 16:57:07 +0200 Subject: [PATCH] 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. --- src/resolve/resolvectl.c | 9 --------- 1 file changed, 9 deletions(-) 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"); -- 2.47.3