summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-kernel.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-12-11 05:30:46 +0100
committerKay Sievers <kay@vrfy.org>2013-12-11 05:38:25 +0100
commite599ba01f564161966b3b8c93cc229daf847e807 (patch)
treee743d21feeebb2d1018f045a6e2509f6e578de98 /src/libsystemd-bus/bus-kernel.c
parentc099716487df4a4f5394e57e7ca14da1d358166a (diff)
bus: kdbus - skip only STARTER and IN_QUEUE names for NameOwnerChanged
Diffstat (limited to 'src/libsystemd-bus/bus-kernel.c')
-rw-r--r--src/libsystemd-bus/bus-kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c
index f66cf04e16..92acbeec5e 100644
--- a/src/libsystemd-bus/bus-kernel.c
+++ b/src/libsystemd-bus/bus-kernel.c
@@ -514,7 +514,7 @@ static int translate_name_change(sd_bus *bus, struct kdbus_msg *k, struct kdbus_
assert(k);
assert(d);
- if (d->name_change.flags != 0)
+ if (d->name_change.flags & (KDBUS_NAME_IN_QUEUE|KDBUS_NAME_STARTER))
return 0;
if (d->type == KDBUS_ITEM_NAME_ADD)