Commit 041f449a authored by Dan Winship's avatar Dan Winship

platform: fix linux nm_platform_link_get_physical_port_id() (rh #804527)

It was reading the wrong property name
parent 0ff286ad
......@@ -1765,7 +1765,7 @@ link_get_physical_port_id (NMPlatform *platform, int ifindex)
if (!ifname)
return NULL;
path = g_strdup_printf ("/sys/class/net/%s/physical_port_id", ifname);
path = g_strdup_printf ("/sys/class/net/%s/phys_port_id", ifname);
if (g_file_test (path, G_FILE_TEST_EXISTS))
id = sysctl_get (platform, path);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment