diff options
author | Mario Sanchez Prada <mario@endlessm.com> | 2016-07-20 16:21:12 +0100 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2016-07-28 22:22:14 +0200 |
commit | dfd9d85bebc11bd8719ca60447c01bc3ea52769e (patch) | |
tree | 3c82cfd20c105c0dbd4b753030ab02f702ec6147 /src/nm-connectivity.c | |
parent | 283562ef18cbc2d62a567656e8fc0bc3fb5d433d (diff) |
nm-dispatcher: Added new 'connectivity-state' parameter to private D-Bus API
In order to pass the connectivity state to the relevant hooks along with
the event itself, we need to add this parameter for the 'Action' method
of then internal 'org.freedesktop.nm_dispatcher' interface, which will
be sent by the network manager main process to the dispatcher.
https://bugzilla.gnome.org/show_bug.cgi?id=768969
Diffstat (limited to 'src/nm-connectivity.c')
-rw-r--r-- | src/nm-connectivity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-connectivity.c b/src/nm-connectivity.c index 2b8b170a5..7cf3e7079 100644 --- a/src/nm-connectivity.c +++ b/src/nm-connectivity.c @@ -99,7 +99,7 @@ update_state (NMConnectivity *self, NMConnectivityState state) g_object_notify (G_OBJECT (self), NM_CONNECTIVITY_STATE); /* Notify dispatcher scripts of a connectivity state change */ - nm_dispatcher_call_connectivity (DISPATCHER_ACTION_CONNECTIVITY_CHANGE); + nm_dispatcher_call_connectivity (DISPATCHER_ACTION_CONNECTIVITY_CHANGE, state); } } |