summaryrefslogtreecommitdiff
path: root/src/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/socket.c
parent6ea832a20700f5282c08c70f38422c6ab290a0b5 (diff)
socket: expose IP_TRANSPARENT
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/socket.c b/src/socket.c
index 6c935c4201..e8b2d968d6 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -404,6 +404,7 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) {
"%sDirectoryMode: %04o\n"
"%sKeepAlive: %s\n"
"%sFreeBind: %s\n"
+ "%sTransparent: %s\n"
"%sTCPCongestion: %s\n",
prefix, socket_state_to_string(s->state),
prefix, socket_address_bind_ipv6_only_to_string(s->bind_ipv6_only),
@@ -412,6 +413,7 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) {
prefix, s->directory_mode,
prefix, yes_no(s->keep_alive),
prefix, yes_no(s->free_bind),
+ prefix, yes_no(s->transparent),
prefix, strna(s->tcp_congestion));
if (s->control_pid > 0)
@@ -897,6 +899,7 @@ static int socket_open_fds(Socket *s) {
s->bind_ipv6_only,
s->bind_to_device,
s->free_bind,
+ s->transparent,
s->directory_mode,
s->socket_mode,
label,