summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-21 00:06:11 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-21 00:06:11 +0100
commit2e41a51ea4cf68f67d6d1e71482d95d9d50091b3 (patch)
treebfcda6260b1d3c56cd7eec84efa1970555a4d151 /src
parent54b434b1b5055f934230fe04fad35b01642b8488 (diff)
downloadsystemd-2e41a51ea4cf68f67d6d1e71482d95d9d50091b3.tar.gz
systemd-2e41a51ea4cf68f67d6d1e71482d95d9d50091b3.tar.bz2
systemd-2e41a51ea4cf68f67d6d1e71482d95d9d50091b3.zip
socket: fix segfault
Diffstat (limited to 'src')
-rw-r--r--src/core/load-fragment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index de612f05cb..110f7fbb6e 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -298,6 +298,7 @@ int config_parse_socket_listen(const char *unit,
}
p->fd = -1;
+ p->socket = s;
if (s->ports) {
LIST_FIND_TAIL(port, s->ports, tail);