projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab78ab7
)
client: Don't handle Agent messages in monitor code
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Wed, 12 Jun 2013 13:54:26 +0000
(16:54 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Thu, 13 Jun 2013 07:33:52 +0000
(10:33 +0300)
Agent messages need to be handled in the agent code, ignore them when
they get captured in the monitor code.
client/commands.c
patch
|
blob
|
history
diff --git
a/client/commands.c
b/client/commands.c
index
b0fd1fa
..
131a5cc
100644
(file)
--- a/
client/commands.c
+++ b/
client/commands.c
@@
-1019,6
+1019,10
@@
static DBusHandlerResult monitor_changed(DBusConnection *connection,
if (strncmp(interface, "net.connman.", 12) != 0)
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
+ if (strncmp(interface, "net.connman.Agent", 17) == 0 ||
+ strncmp(interface, "net.connman.vpn.Agent", 21) == 0)
+ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
+
interface = strrchr(interface, '.');
if (interface != NULL && *interface != '\0')
interface++;