platform/trivial: rename link related functions
Link related functions should have a "nm_platform_link" prefix. Rename. Naming is a subjective matter and one might argue that omitting the "link" part from the name is shorter and even preferred. However, I think functions related to links should have a common prefix as the underlyings are strongly related.
This commit is contained in:
@@ -618,7 +618,7 @@ _linktype_get_type (NMPlatform *platform,
|
||||
NMPlatformTunProperties props;
|
||||
|
||||
if ( platform
|
||||
&& nm_platform_tun_get_properties_ifname (platform, ifname, &props)) {
|
||||
&& nm_platform_link_tun_get_properties_ifname (platform, ifname, &props)) {
|
||||
if (!g_strcmp0 (props.mode, "tap"))
|
||||
return NM_LINK_TYPE_TAP;
|
||||
if (!g_strcmp0 (props.mode, "tun"))
|
||||
|
Reference in New Issue
Block a user