diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-16 15:41:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-16 15:41:29 +0200 |
commit | 0213c3f8102bdc934c629d11a44ca0b408762287 (patch) | |
tree | 743fcd1210de5bf35a271b64d5103487fc5f7ad4 /src/dbus-socket.c | |
parent | 18c78fb1af5415bb6f87d9c7cae1f9c60e14ae24 (diff) |
socket: add optional libwrap support
Diffstat (limited to 'src/dbus-socket.c')
-rw-r--r-- | src/dbus-socket.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dbus-socket.c b/src/dbus-socket.c index 426af2b4cf..fa84191140 100644 --- a/src/dbus-socket.c +++ b/src/dbus-socket.c @@ -37,6 +37,7 @@ " <property name=\"DirectoryMode\" type=\"u\" access=\"read\"/>\n" \ " <property name=\"SocketMode\" type=\"u\" access=\"read\"/>\n" \ " <property name=\"Accept\" type=\"b\" access=\"read\"/>\n" \ + " <property name=\"TCPWrapName\" type=\"s\" access=\"read\"/>\n" \ " </interface>\n" \ #define INTROSPECTION \ @@ -66,6 +67,7 @@ DBusHandlerResult bus_socket_message_handler(Unit *u, DBusMessage *message) { { "org.freedesktop.systemd1.Socket", "DirectoryMode", bus_property_append_mode, "u", &u->socket.directory_mode }, { "org.freedesktop.systemd1.Socket", "SocketMode", bus_property_append_mode, "u", &u->socket.socket_mode }, { "org.freedesktop.systemd1.Socket", "Accept", bus_property_append_bool, "b", &u->socket.accept }, + { "org.freedesktop.systemd1.Socket", "TCPWrapName", bus_property_append_string, "s", u->socket.tcpwrap_name }, { NULL, NULL, NULL, NULL, NULL } }; |