From f8de8217b13cde473de3254bfd795800c5644cc6 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 22 Jun 2017 17:58:42 +0100 Subject: [PATCH] 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 4d1b2c7a..3462b473 100644 --- a/bus/containers.c +++ b/bus/containers.c @@ -285,7 +285,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 const char * -- 2.13.2