chiark / gitweb /
bus: set cookie_reply and update kdbus.h
[elogind.git] / src / libsystemd-bus / bus-kernel.c
index 8a5b210fe46547230afa49547c0cfe073674932e..c15218fe984097dcd3dbc7d29c90ffc4e31820eb 100644 (file)
@@ -257,7 +257,7 @@ static int bus_message_setup_kmsg(sd_bus *b, sd_bus_message *m) {
                 m->destination ? unique : KDBUS_DST_ID_BROADCAST;
         m->kdbus->payload_type = KDBUS_PAYLOAD_DBUS;
         m->kdbus->cookie = m->header->serial;
-
+        m->kdbus->cookie_reply = m->reply_serial;
         m->kdbus->timeout_ns = m->timeout * NSEC_PER_USEC;
 
         d = m->kdbus->items;