projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32cf3a0
)
Don't enumerate network pseudo devices
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 9 Dec 2008 09:04:48 +0000
(10:04 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 9 Dec 2008 09:04:48 +0000
(10:04 +0100)
src/element.c
patch
|
blob
|
history
diff --git
a/src/element.c
b/src/element.c
index
407afc7
..
9dd3039
100644
(file)
--- a/
src/element.c
+++ b/
src/element.c
@@
-742,6
+742,10
@@
static gboolean append_path(GNode *node, gpointer user_data)
filter->type != element->type)
return FALSE;
+ if (filter->type == CONNMAN_ELEMENT_TYPE_DEVICE &&
+ element->subtype == CONNMAN_ELEMENT_SUBTYPE_NETWORK)
+ return FALSE;
+
dbus_message_iter_append_basic(filter->iter,
DBUS_TYPE_OBJECT_PATH, &element->path);