diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index 5297a1d46..002cf51b8 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -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)) {