mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 01:20:07 +01:00
trivial: platform: add_kernel_object now returns int, not gboolean
This commit is contained in:
parent
4182deb398
commit
ed37ceeb91
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ get_kernel_object (struct nl_sock *sock, struct nl_object *needle)
|
|||
}
|
||||
|
||||
/* libnl 3.2 doesn't seem to provide such a generic way to add libnl-route objects. */
|
||||
static gboolean
|
||||
static int
|
||||
add_kernel_object (struct nl_sock *sock, struct nl_object *object)
|
||||
{
|
||||
switch (object_type_from_nl_object (object)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue