X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fdbus-snapshot.c;fp=src%2Fdbus-snapshot.c;h=cc12b1bd8bd06e07a3089d39e5ce83fd90d523b7;hp=a9903ec484ef19297f07d73e50bb1144f4b311cd;hb=05feefe0fb049bb0f7c59584058ee0350462920c;hpb=34df5a34e1d0ac4bba453fb5f52f18a2f5f260f9 diff --git a/src/dbus-snapshot.c b/src/dbus-snapshot.c index a9903ec48..cc12b1bd8 100644 --- a/src/dbus-snapshot.c +++ b/src/dbus-snapshot.c @@ -38,6 +38,10 @@ BUS_INTROSPECTABLE_INTERFACE \ "\n" +#define INTERFACES_LIST \ + BUS_UNIT_INTERFACES_LIST \ + "org.freedesktop.systemd1.Snapshot\0" + const char bus_snapshot_interface[] _introspect_("Snapshot") = BUS_SNAPSHOT_INTERFACE; DBusHandlerResult bus_snapshot_message_handler(Unit *u, DBusConnection *c, DBusMessage *message) { @@ -60,7 +64,7 @@ DBusHandlerResult bus_snapshot_message_handler(Unit *u, DBusConnection *c, DBusM goto oom; } else - return bus_default_message_handler(u->meta.manager, c, message, INTROSPECTION, properties); + return bus_default_message_handler(u->meta.manager, c, message, INTROSPECTION, INTERFACES_LIST, properties); if (reply) { if (!dbus_connection_send(c, reply, NULL))