Skip to content

Commit

Permalink
resolvectl: do not sort domain output
Browse files Browse the repository at this point in the history
The order of search domains is important information. We shouldn't
obscure it by sorting the search domains when printing.

Fixes: af78187 ("resolvectl: sort domain/nta output")
(cherry picked from commit 7f0dbde)
(cherry picked from commit 6186c1e)
  • Loading branch information
rpigott authored and bluca committed Nov 9, 2023
1 parent c77b806 commit c491f66
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/resolve/resolvectl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1407,8 +1407,6 @@ static int map_link_domains(sd_bus *bus, const char *member, sd_bus_message *m,
if (r < 0)
return r;

strv_sort(*l);

return 0;
}

Expand Down

0 comments on commit c491f66

Please sign in to comment.