platform: merge NM_LINK_TYPE_GENERIC into NM_LINK_TYPE_UNKNOWN

This commit is contained in:
Pavel Šimerda
2013-05-27 18:10:20 +02:00
parent 38a9ac5cc2
commit ae8f2fdf8a
3 changed files with 1 additions and 5 deletions

View File

@@ -319,7 +319,7 @@ link_extract_type (struct rtnl_link *rtnllink, const char **out_name)
break;
}
return_type (NM_LINK_TYPE_GENERIC, "generic");
return_type (NM_LINK_TYPE_UNKNOWN, "unknown");
} else if (!strcmp (type, "ipoib"))
return_type (NM_LINK_TYPE_INFINIBAND, "infiniband");
else if (!strcmp (type, "dummy"))