summaryrefslogtreecommitdiff
path: root/src/dbus-socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-05-19 18:10:19 +0200
committerLennart Poettering <lennart@poettering.net>2011-05-19 18:10:19 +0200
commitec6370a22dbb96f855011e75f08e88df9e45504d (patch)
tree91758432975c7617222a797f9821ea6d75fe265b /src/dbus-socket.c
parentac49a397142ede44048a0842813fa3d74f2bb155 (diff)
socket: expose SO_BROADCAST
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 f6edc8016d..b81569d504 100644
--- a/src/dbus-socket.c
+++ b/src/dbus-socket.c
@@ -50,6 +50,7 @@
" <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=\"Broadcast\" 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" \
@@ -109,6 +110,7 @@ DBusHandlerResult bus_socket_message_handler(Unit *u, DBusConnection *c, DBusMes
{ "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", "Broadcast", bus_property_append_bool, "b", &u->socket.broadcast },
{ "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 },