nm_device_reapply (NMDevice *device,
NMConnection *connection,
guint64 version_id,
- guint flags,
+ guint32 flags,
GCancellable *cancellable,
GError **error)
{
nm_device_reapply_async (NMDevice *device,
NMConnection *connection,
guint64 version_id,
- guint flags,
+ guint32 flags,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data)
gboolean nm_device_reapply (NMDevice *device,
NMConnection *connection,
guint64 version_id,
- guint flags,
+ guint32 flags,
GCancellable *cancellable,
GError **error);
NM_AVAILABLE_IN_1_2
void nm_device_reapply_async (NMDevice *device,
NMConnection *connection,
guint64 version_id,
- guint flags,
+ guint32 flags,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GDBusMethodInvocation *context,
GVariant *settings,
guint64 version_id,
- guint flags)
+ guint32 flags)
{
NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self);
NMSettingsConnection *settings_connection;
/* No flags supported as of now. */
if (flags != 0) {
error = g_error_new_literal (NM_DEVICE_ERROR,
- NM_DEVICE_ERROR_NOT_ACTIVE,
+ NM_DEVICE_ERROR_FAILED,
"Invalid flags specified");
nm_audit_log_device_op (NM_AUDIT_OP_DEVICE_REAPPLY, self, FALSE, context, error->message);
g_dbus_method_invocation_take_error (context, error);