summaryrefslogtreecommitdiff
path: root/src/dbus-socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-05-19 13:22:31 +0200
committerLennart Poettering <lennart@poettering.net>2011-05-19 13:22:31 +0200
commit6b6d2deecc246cf9780d31e1cd03a52aa5bfd9d2 (patch)
tree25e09967aebaa64850f072625c8f20a4221c1334 /src/dbus-socket.c
parent6ea832a20700f5282c08c70f38422c6ab290a0b5 (diff)
socket: expose IP_TRANSPARENT
Diffstat (limited to 'src/dbus-socket.c')
-rw-r--r--src/dbus-socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dbus-socket.c b/src/dbus-socket.c
index 3ec78a0f4c..f6edc8016d 100644
--- a/src/dbus-socket.c
+++ b/src/dbus-socket.c
@@ -49,6 +49,7 @@
" <property name=\"IPTTL\" type=\"i\" access=\"read\"/>\n" \
" <property name=\"PipeSize\" type=\"t\" access=\"read\"/>\n" \
" <property name=\"FreeBind\" type=\"b\" access=\"read\"/>\n" \
+ " <property name=\"Transparent\" type=\"b\" access=\"read\"/>\n" \
" <property name=\"Mark\" type=\"i\" access=\"read\"/>\n" \
" <property name=\"MaxConnections\" type=\"u\" access=\"read\"/>\n" \
" <property name=\"NAccepted\" type=\"u\" access=\"read\"/>\n" \
@@ -107,6 +108,7 @@ DBusHandlerResult bus_socket_message_handler(Unit *u, DBusConnection *c, DBusMes
{ "org.freedesktop.systemd1.Socket", "IPTTL", bus_property_append_int, "i", &u->socket.ip_ttl },
{ "org.freedesktop.systemd1.Socket", "PipeSize", bus_property_append_size, "t", &u->socket.pipe_size },
{ "org.freedesktop.systemd1.Socket", "FreeBind", bus_property_append_bool, "b", &u->socket.free_bind },
+ { "org.freedesktop.systemd1.Socket", "Transparent", bus_property_append_bool, "b", &u->socket.transparent },
{ "org.freedesktop.systemd1.Socket", "Mark", bus_property_append_int, "i", &u->socket.mark },
{ "org.freedesktop.systemd1.Socket", "MaxConnections", bus_property_append_unsigned, "u", &u->socket.max_connections },
{ "org.freedesktop.systemd1.Socket", "NConnections", bus_property_append_unsigned, "u", &u->socket.n_connections },