summaryrefslogtreecommitdiff
path: root/src/activate/activate.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2016-01-22 09:47:59 +0100
committerDaniel Mack <github@zonque.org>2016-01-22 09:47:59 +0100
commit371859d6b55478f1c8d04930f92d52b32ddfdf95 (patch)
tree9078a5ec96825fe1d3331c0b1ac5c0bfbb17f4c2 /src/activate/activate.c
parent07313a18263ca6f2e2a49ee4fba79aa6249ff398 (diff)
parent366b7db4b65b994cd33cf4fd3c1be429be561307 (diff)
Merge pull request #2080 from chaloulo/split-mode-host-remove-port-from-journal-filename
journal-remote: split-mode=host, remove port from journal filename
Diffstat (limited to 'src/activate/activate.c')
-rw-r--r--src/activate/activate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activate/activate.c b/src/activate/activate.c
index 36387ea621..95083441ab 100644
--- a/src/activate/activate.c
+++ b/src/activate/activate.c
@@ -277,7 +277,7 @@ static int do_accept(const char* name, char **argv, char **envp, int fd) {
}
getsockname_pretty(fd2, &local);
- getpeername_pretty(fd2, &peer);
+ getpeername_pretty(fd2, true, &peer);
log_info("Connection from %s to %s", strna(peer), strna(local));
return launch1(name, argv, envp, fd2);