mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-06 10:38:32 +02:00
trivial: don't shadown link(3) in NMFakePlatform
(cherry picked from commit 32a53f786d)
This commit is contained in:
parent
365ca198c0
commit
7543f8d5e5
1 changed files with 2 additions and 2 deletions
|
|
@ -162,12 +162,12 @@ link_get_all (NMPlatform *platform)
|
|||
}
|
||||
|
||||
static gboolean
|
||||
_nm_platform_link_get (NMPlatform *platform, int ifindex, NMPlatformLink *link)
|
||||
_nm_platform_link_get (NMPlatform *platform, int ifindex, NMPlatformLink *l)
|
||||
{
|
||||
NMFakePlatformLink *device = link_get (platform, ifindex);
|
||||
|
||||
if (device)
|
||||
*link = device->link;
|
||||
*l = device->link;
|
||||
return !!device;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue