From 8a93c83161ed309ee8e1cfddc98363977d7fb469 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 7 Jun 2013 11:05:06 -0300 Subject: [PATCH] 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". --- src/platform/nm-linux-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index d075fe5af8..3e2ced7257 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -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 *