libnm: fix device description in fixup_desc_string()

Fixes: b9e9f76165
This commit is contained in:
Thomas Haller 2017-05-19 10:18:59 +02:00
parent f867f20ab8
commit 12c881ad40

View file

@ -1535,7 +1535,7 @@ fixup_desc_string (const char *desc)
if (nm_utils_strv_find_first ((char **) IGNORED_WORDS,
G_N_ELEMENTS (IGNORED_WORDS),
p) < 0)
p) >= 0)
goto next;
l = strlen (p);