diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-19 03:04:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-19 03:04:04 +0200 |
commit | 5e8d1c9a9f15b7453474dc4879bdb4021c3f50a1 (patch) | |
tree | ff305b07ce88ea21de22fc86b53c246e40d857c1 /src/dbus-socket.c | |
parent | f9704703f35a281d9f8fa12018bd396b2be30d36 (diff) |
dbus: to make sure that systemd stays controllable during early bootup, register our services on our own micro usb server in addition to the bus
Diffstat (limited to 'src/dbus-socket.c')
-rw-r--r-- | src/dbus-socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus-socket.c b/src/dbus-socket.c index 426af2b4cf..a5474c9f35 100644 --- a/src/dbus-socket.c +++ b/src/dbus-socket.c @@ -52,7 +52,7 @@ const char bus_socket_interface[] = BUS_SOCKET_INTERFACE; static DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_socket_append_bind_ipv6_only, socket_address_bind_ipv6_only, SocketAddressBindIPv6Only); -DBusHandlerResult bus_socket_message_handler(Unit *u, DBusMessage *message) { +DBusHandlerResult bus_socket_message_handler(Unit *u, DBusConnection *c, DBusMessage *message) { const BusProperty properties[] = { BUS_UNIT_PROPERTIES, { "org.freedesktop.systemd1.Socket", "BindIPv6Only", bus_socket_append_bind_ipv6_only, "s", &u->socket.bind_ipv6_only }, @@ -69,5 +69,5 @@ DBusHandlerResult bus_socket_message_handler(Unit *u, DBusMessage *message) { { NULL, NULL, NULL, NULL, NULL } }; - return bus_default_message_handler(u->meta.manager, message, INTROSPECTION, properties); + return bus_default_message_handler(u->meta.manager, c, message, INTROSPECTION, properties); } |