mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 19:20:12 +01:00
parent
433d4fed6a
commit
b8c677a0eb
1 changed files with 1 additions and 1 deletions
|
|
@ -1814,7 +1814,7 @@ add_device (NMManager *self, NMDevice *device, GError **error)
|
|||
ifindex = nm_device_get_ifindex (device);
|
||||
if (ifindex > 0 && nm_manager_get_device_by_ifindex (self, ifindex)) {
|
||||
g_set_error (error, NM_MANAGER_ERROR, NM_MANAGER_ERROR_FAILED,
|
||||
"A device with ifindex %d already exits", ifindex);
|
||||
"A device with ifindex %d already exists", ifindex);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue