diff options
author | Thomas Haller <thaller@redhat.com> | 2018-04-30 10:33:40 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-07-25 17:24:48 +0200 |
commit | 352299a698c8a40eaba7fef88c9952044a57a778 (patch) | |
tree | 2076091eeb5fd51598033f95135101cde5565efb /clients/cli/utils.c | |
parent | aeda1d78c573e8890082ec3fc78771688d504c71 (diff) | |
download | NetworkManager-th/cli-connection-handling-5.tar.gz |
WIP: cli: rework printing of "ap" device detailsth/cli-connection-handling-5
Diffstat (limited to 'clients/cli/utils.c')
-rw-r--r-- | clients/cli/utils.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/clients/cli/utils.c b/clients/cli/utils.c index 355f60c597..715d78ec5f 100644 --- a/clients/cli/utils.c +++ b/clients/cli/utils.c @@ -744,9 +744,12 @@ _output_selection_append (GArray *cols, return FALSE; nm_assert (selection->num == 1); } else { - nested = nm_meta_abstract_info_get_nested (selection_item->info, FALSE, NULL, &nested_to_free); + nested = nm_meta_abstract_info_get_nested (selection_item->info, + selection_item->selection_type == NM_META_SELECTION_TYPE_ALL, + NULL, + &nested_to_free); if (nested) { - selection = nm_meta_selection_create_all (nested, NM_META_SELECTION_TYPE_COMMON); + selection = nm_meta_selection_create_all (nested, selection_item->selection_type); nm_assert (selection && selection->num > 0); } else selection = NULL; |