diff options
author | Thomas Haller <thaller@redhat.com> | 2021-06-17 16:20:17 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-06-23 13:11:56 +0200 |
commit | c5e7e2f69403e59dbc7676ff60ecc1d36a703207 (patch) | |
tree | 9a2423a32d94ac8ba776df9cb8298527c8c0f2ce | |
parent | eb3ef97dd0894d430cae3630a46528fb61f0bef8 (diff) |
dhcp/trivial: rename "NMDhcpClientFactory.experimental" to "NMDhcpClientFactory.undocumented"
It's not experimental. It's not officially documented. Rename.
-rw-r--r-- | src/core/dhcp/nm-dhcp-client.h | 4 | ||||
-rw-r--r-- | src/core/dhcp/nm-dhcp-manager.c | 2 | ||||
-rw-r--r-- | src/core/dhcp/nm-dhcp-nettools.c | 2 | ||||
-rw-r--r-- | src/core/dhcp/nm-dhcp-systemd.c | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/src/core/dhcp/nm-dhcp-client.h b/src/core/dhcp/nm-dhcp-client.h index 9e3ccc8fed..601225ecd6 100644 --- a/src/core/dhcp/nm-dhcp-client.h +++ b/src/core/dhcp/nm-dhcp-client.h @@ -221,7 +221,9 @@ typedef struct { GType (*get_type_6)(void); const char *name; const char *(*get_path)(void); - bool experimental : 1; + + /* whether this plugin is an undocumented, internal plugin. */ + bool undocumented : 1; } NMDhcpClientFactory; GType nm_dhcp_nettools_get_type(void); diff --git a/src/core/dhcp/nm-dhcp-manager.c b/src/core/dhcp/nm-dhcp-manager.c index b264d2abeb..c3328b010b 100644 --- a/src/core/dhcp/nm-dhcp-manager.c +++ b/src/core/dhcp/nm-dhcp-manager.c @@ -600,7 +600,7 @@ nm_dhcp_manager_init(NMDhcpManager *self) "dhcp-init: enabled DHCP client '%s'%s%s", f->name, _client_factory_available(f) ? "" : " (not available)", - f->experimental ? " (undocumented internal plugin)" : ""); + f->undocumented ? " (undocumented internal plugin)" : ""); } /* Client-specific setup */ diff --git a/src/core/dhcp/nm-dhcp-nettools.c b/src/core/dhcp/nm-dhcp-nettools.c index ddc86738b8..f755eebca3 100644 --- a/src/core/dhcp/nm-dhcp-nettools.c +++ b/src/core/dhcp/nm-dhcp-nettools.c @@ -1249,5 +1249,5 @@ nm_dhcp_nettools_class_init(NMDhcpNettoolsClass *class) const NMDhcpClientFactory _nm_dhcp_client_factory_nettools = { .name = "nettools", .get_type_4 = nm_dhcp_nettools_get_type, - .experimental = TRUE, + .undocumented = TRUE, }; diff --git a/src/core/dhcp/nm-dhcp-systemd.c b/src/core/dhcp/nm-dhcp-systemd.c index 4f93aef71a..4bb58ee354 100644 --- a/src/core/dhcp/nm-dhcp-systemd.c +++ b/src/core/dhcp/nm-dhcp-systemd.c @@ -1126,7 +1126,7 @@ const NMDhcpClientFactory _nm_dhcp_client_factory_systemd = { .name = "systemd", .get_type_4 = nm_dhcp_systemd_get_type, .get_type_6 = nm_dhcp_systemd_get_type, - .experimental = TRUE, + .undocumented = TRUE, }; /*****************************************************************************/ |