summaryrefslogtreecommitdiff
path: root/clients/cli/nmcli.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-04-21 13:15:58 +0200
committerThomas Haller <thaller@redhat.com>2018-04-23 15:43:39 +0200
commit5e69b8b9f19fe6421c0e134fede61d60624d6383 (patch)
tree6f169c7f1052c9c9e379468890e8fb2fc9702175 /clients/cli/nmcli.c
parente96b1270a686018d0529ac578f85413a9341ec97 (diff)
downloadNetworkManager-5e69b8b9f19fe6421c0e134fede61d60624d6383.tar.gz
cli: merge IPv4 and IPv6 variants of print_dhcp_config()
Diffstat (limited to 'clients/cli/nmcli.c')
-rw-r--r--clients/cli/nmcli.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/clients/cli/nmcli.c b/clients/cli/nmcli.c
index ec23ff431b..59d30055d9 100644
--- a/clients/cli/nmcli.c
+++ b/clients/cli/nmcli.c
@@ -127,9 +127,8 @@ complete_fields (const char *option, const char *prefix)
h = g_hash_table_new_full (nm_str_hash, g_str_equal, g_free, NULL);
complete_field (h, metagen_ip4_config);
- complete_field (h, nmc_fields_dhcp4_config);
+ complete_field (h, nmc_fields_dhcp_config);
complete_field (h, nmc_fields_ip6_config);
- complete_field (h, nmc_fields_dhcp6_config);
complete_field (h, nmc_fields_con_show);
complete_field (h, nmc_fields_con_active_details_general);
complete_field (h, nmc_fields_con_active_details_vpn);