diff options
author | Daniel Mack <github@zonque.org> | 2016-01-22 09:47:59 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2016-01-22 09:47:59 +0100 |
commit | 371859d6b55478f1c8d04930f92d52b32ddfdf95 (patch) | |
tree | 9078a5ec96825fe1d3331c0b1ac5c0bfbb17f4c2 /src/socket-proxy/socket-proxyd.c | |
parent | 07313a18263ca6f2e2a49ee4fba79aa6249ff398 (diff) | |
parent | 366b7db4b65b994cd33cf4fd3c1be429be561307 (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/socket-proxy/socket-proxyd.c')
-rw-r--r-- | src/socket-proxy/socket-proxyd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket-proxy/socket-proxyd.c b/src/socket-proxy/socket-proxyd.c index ba82adadb4..600f772e19 100644 --- a/src/socket-proxy/socket-proxyd.c +++ b/src/socket-proxy/socket-proxyd.c @@ -505,7 +505,7 @@ static int accept_cb(sd_event_source *s, int fd, uint32_t revents, void *userdat if (errno != -EAGAIN) log_warning_errno(errno, "Failed to accept() socket: %m"); } else { - getpeername_pretty(nfd, &peer); + getpeername_pretty(nfd, true, &peer); log_debug("New connection from %s", strna(peer)); r = add_connection_socket(context, nfd); |