diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-25 16:59:51 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-25 17:40:53 +0100 |
commit | 4d4c80d073f26368d123f8cebff5b4c36a6beace (patch) | |
tree | c055ac7634be9932a63b54286886d7f12ae2ab0d /src/core/dbus-socket.c | |
parent | 290837072b136624f1f3d941c7274e4b1b275021 (diff) |
core: fix serialization of exec command structs
Diffstat (limited to 'src/core/dbus-socket.c')
-rw-r--r-- | src/core/dbus-socket.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/dbus-socket.c b/src/core/dbus-socket.c index 19a44849a3..74217df6d6 100644 --- a/src/core/dbus-socket.c +++ b/src/core/dbus-socket.c @@ -119,10 +119,10 @@ const sd_bus_vtable bus_socket_vtable[] = { SD_BUS_PROPERTY("SmackLabel", "s", NULL, offsetof(Socket, smack), 0), SD_BUS_PROPERTY("SmackLabelIPIn", "s", NULL, offsetof(Socket, smack_ip_in), 0), SD_BUS_PROPERTY("SmackLabelIPOut", "s", NULL, offsetof(Socket, smack_ip_out), 0), - BUS_EXEC_COMMAND_VTABLE("ExecStartPre", offsetof(Socket, exec_command[SOCKET_EXEC_START_PRE]), 0), - BUS_EXEC_COMMAND_VTABLE("ExecStartPost", offsetof(Socket, exec_command[SOCKET_EXEC_START_POST]), 0), - BUS_EXEC_COMMAND_VTABLE("ExecStopPre", offsetof(Socket, exec_command[SOCKET_EXEC_STOP_PRE]), 0), - BUS_EXEC_COMMAND_VTABLE("ExecStopPost", offsetof(Socket, exec_command[SOCKET_EXEC_STOP_POST]), 0), + BUS_EXEC_COMMAND_LIST_VTABLE("ExecStartPre", offsetof(Socket, exec_command[SOCKET_EXEC_START_PRE]), 0), + BUS_EXEC_COMMAND_LIST_VTABLE("ExecStartPost", offsetof(Socket, exec_command[SOCKET_EXEC_START_POST]), 0), + BUS_EXEC_COMMAND_LIST_VTABLE("ExecStopPre", offsetof(Socket, exec_command[SOCKET_EXEC_STOP_PRE]), 0), + BUS_EXEC_COMMAND_LIST_VTABLE("ExecStopPost", offsetof(Socket, exec_command[SOCKET_EXEC_STOP_POST]), 0), SD_BUS_VTABLE_END }; |