summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-02-11 09:04:58 +0100
committerThomas Haller <thaller@redhat.com>2016-02-16 11:24:49 +0100
commit6898e2169e2fc2ca9d938208ad84a112ccb3f23e (patch)
tree2940e8b5a28f066adba262e45109a2764af93b40 /clients
parentb96a40c2ec9e4318e7d2a578396236f68e487710 (diff)
downloadNetworkManager-6898e2169e2fc2ca9d938208ad84a112ccb3f23e.tar.gz
all: add version-id argument to device's Reapply method
This breaks API and ABI for the functions related to Reapply, which got introduced in the current 1.1 development phase. The version-id is here to allow users to error out if the connection on the device was changed by a concurrent action. https://bugzilla.gnome.org/show_bug.cgi?id=761714
Diffstat (limited to 'clients')
-rw-r--r--clients/cli/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/devices.c b/clients/cli/devices.c
index c960c54eb4..d2cb9fcba9 100644
--- a/clients/cli/devices.c
+++ b/clients/cli/devices.c
@@ -1928,7 +1928,7 @@ do_device_reapply (NmCli *nmc, int argc, char **argv)
info->queue = g_slist_prepend (info->queue, g_object_ref (device));
/* Now reapply the connection to the device */
- nm_device_reapply_async (device, NULL, 0, NULL, reapply_device_cb, info);
+ nm_device_reapply_async (device, NULL, 0, 0, NULL, reapply_device_cb, info);
}
error: