From bff6eaf00d9ac4773b35e6894d232f20d50f73a0 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 22 Jun 2017 17:58:42 +0100 Subject: [PATCH 20/49] bus/containers: Set up new connections to join the bus Signed-off-by: Simon McVittie --- bus/containers.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bus/containers.c b/bus/containers.c index 1c254db1..a436c235 100644 --- a/bus/containers.c +++ b/bus/containers.c @@ -286,7 +286,10 @@ new_connection_cb (DBusServer *server, DBusConnection *new_connection, void *data) { - /* TODO: handle new connection */ + BusContainerInstance *instance = data; + + if (!bus_context_add_incoming_connection (instance->context, new_connection)) + return; } static dbus_bool_t -- 2.11.0