netif-util: rename link_get_type_string() -> net_get_type_string()

This commit is contained in:
Yu Watanabe
2021-11-09 08:24:10 +09:00
parent b5cc5591fa
commit 4eef6fad31
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ int link_build_json(Link *link, JsonVariant **ret) {
assert(link);
assert(ret);
r = link_get_type_string(link->sd_device, link->iftype, &type);
r = net_get_type_string(link->sd_device, link->iftype, &type);
if (r == -ENOMEM)
return r;