diff options
author | Thomas Haller <thaller@redhat.com> | 2015-12-09 16:14:49 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-12-10 14:33:49 +0100 |
commit | eef388990f134fd30045807860055ef22afbbd5c (patch) | |
tree | 5fa37e36d8c16effd781384ce1280f92c190ec7b /src/tests | |
parent | 6a7730241b28b7103aba7eb9ba73f213494c845b (diff) | |
download | NetworkManager-eef388990f134fd30045807860055ef22afbbd5c.tar.gz |
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.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test-route-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test-route-manager.c b/src/tests/test-route-manager.c index eba7d9ef77..347c122c36 100644 --- a/src/tests/test-route-manager.c +++ b/src/tests/test-route-manager.c @@ -876,7 +876,7 @@ fixture_setup (test_fixture *fixture, gconstpointer user_data) "nm-test-device0"); nm_platform_link_delete (NM_PLATFORM_GET, nm_platform_link_get_ifindex (NM_PLATFORM_GET, "nm-test-device0")); g_assert (!nm_platform_link_get_by_ifname (NM_PLATFORM_GET, "nm-test-device0")); - g_assert (nm_platform_dummy_add (NM_PLATFORM_GET, "nm-test-device0", NULL) == NM_PLATFORM_ERROR_SUCCESS); + g_assert (nm_platform_link_dummy_add (NM_PLATFORM_GET, "nm-test-device0", NULL) == NM_PLATFORM_ERROR_SUCCESS); accept_signal (link_added); free_signal (link_added); fixture->ifindex0 = nm_platform_link_get_ifindex (NM_PLATFORM_GET, "nm-test-device0"); @@ -888,7 +888,7 @@ fixture_setup (test_fixture *fixture, gconstpointer user_data) "nm-test-device1"); nm_platform_link_delete (NM_PLATFORM_GET, nm_platform_link_get_ifindex (NM_PLATFORM_GET, "nm-test-device1")); g_assert (!nm_platform_link_get_by_ifname (NM_PLATFORM_GET, "nm-test-device1")); - g_assert (nm_platform_dummy_add (NM_PLATFORM_GET, "nm-test-device1", NULL) == NM_PLATFORM_ERROR_SUCCESS); + g_assert (nm_platform_link_dummy_add (NM_PLATFORM_GET, "nm-test-device1", NULL) == NM_PLATFORM_ERROR_SUCCESS); accept_signal (link_added); free_signal (link_added); fixture->ifindex1 = nm_platform_link_get_ifindex (NM_PLATFORM_GET, "nm-test-device1"); |