summaryrefslogtreecommitdiff
path: root/src/nm-config-data.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-02-04 17:53:17 +0100
committerThomas Haller <thaller@redhat.com>2017-02-04 17:55:30 +0100
commit11bc3f191eb2e7cc2039a30a38522873e0919ab6 (patch)
tree8353fb45c68c3de97919d55539aac6908a26a970 /src/nm-config-data.c
parenta1659075543b1d3fc090b59397ef80024cd3a6d9 (diff)
downloadNetworkManager-11bc3f191eb2e7cc2039a30a38522873e0919ab6.tar.gz
all: use nm_utils_strv_find_first() from shared/nm-utils
Diffstat (limited to 'src/nm-config-data.c')
-rw-r--r--src/nm-config-data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-config-data.c b/src/nm-config-data.c
index 0d554e55ea..e626adfd89 100644
--- a/src/nm-config-data.c
+++ b/src/nm-config-data.c
@@ -1472,7 +1472,7 @@ set_property (GObject *object,
for (i = 0; value_arr && value_arr[i]; i++) {
if ( *value_arr[i]
&& nm_utils_hwaddr_valid (value_arr[i], -1)
- && _nm_utils_strv_find_first (value_arr, i, value_arr[i]) < 0) {
+ && nm_utils_strv_find_first (value_arr, i, value_arr[i]) < 0) {
priv->no_auto_default.arr[j++] = g_strdup (value_arr[i]);
priv->no_auto_default.specs = g_slist_prepend (priv->no_auto_default.specs, g_strdup_printf ("mac:%s", value_arr[i]));
}