summaryrefslogtreecommitdiff
path: root/libnm-core/nm-utils.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-12-23 12:52:51 +0100
committerLubomir Rintel <lkundrak@v3.sk>2017-01-06 15:11:56 +0100
commitf9be6540b02cdebc53b5d317c69ace27e5652178 (patch)
tree11186ca825483e31e707844e5a0eacdeac91e06a /libnm-core/nm-utils.c
parent260563a7d92b690db36816a7f6845a0a9edd483a (diff)
downloadNetworkManager-lr/ifname-validation.tar.gz
libnm-core: deprecate nm_utils_iface_valid_name()lr/ifname-validation
We don't use it internally and a better version exists. Not like we could drop it or anything.
Diffstat (limited to 'libnm-core/nm-utils.c')
-rw-r--r--libnm-core/nm-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-core/nm-utils.c b/libnm-core/nm-utils.c
index 9358b90ebb..5b4566bf41 100644
--- a/libnm-core/nm-utils.c
+++ b/libnm-core/nm-utils.c
@@ -3789,6 +3789,8 @@ nm_utils_is_valid_iface_name (const char *name, GError **error)
*
* Validate the network interface name.
*
+ * Deprecated: 1.6: use nm_utils_is_valid_iface_name() insteead, with better error reporting.
+ *
* Returns: %TRUE if interface name is valid, otherwise %FALSE is returned.
*/
gboolean