mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 09:20:32 +01:00
platform: fix type_name of unknown devices
The whole point of having type_name separate from type was so that unknown devices could still have known device types. But I wrote it wrong and then didn't notice until explicitly vxlan support got removed and vxlans started showing up as "unknown".
This commit is contained in:
parent
ea3a748cbc
commit
8a93c83161
1 changed files with 1 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ link_extract_type (NMPlatform *platform, struct rtnl_link *rtnllink, const char
|
|||
else if (!strcmp (type, "team"))
|
||||
return_type (NM_LINK_TYPE_TEAM, "team");
|
||||
|
||||
return_type (NM_LINK_TYPE_UNKNOWN, "unknown");
|
||||
return_type (NM_LINK_TYPE_UNKNOWN, type);
|
||||
}
|
||||
|
||||
static const char *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue