diff options
author | Shawn Landden <shawn@churchofgit.com> | 2015-03-10 12:41:59 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-10 14:00:27 +0100 |
commit | 3b1c524154c876aecebc98787975cc2943100210 (patch) | |
tree | 5e3c403a17419544bba867e24f2ecb41e01ef4c5 /src/timesync | |
parent | fsckd: clean up log messages (diff) | |
download | systemd-3b1c524154c876aecebc98787975cc2943100210.tar.xz systemd-3b1c524154c876aecebc98787975cc2943100210.zip |
add REMOTE_ADDR and REMOTE_PORT for Accept=yes
Diffstat (limited to 'src/timesync')
-rw-r--r-- | src/timesync/timesyncd-server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timesync/timesyncd-server.h b/src/timesync/timesyncd-server.h index 243b44a0eb..18c44445e1 100644 --- a/src/timesync/timesyncd-server.h +++ b/src/timesync/timesyncd-server.h @@ -59,7 +59,7 @@ struct ServerName { int server_address_new(ServerName *n, ServerAddress **ret, const union sockaddr_union *sockaddr, socklen_t socklen); ServerAddress* server_address_free(ServerAddress *a); static inline int server_address_pretty(ServerAddress *a, char **pretty) { - return sockaddr_pretty(&a->sockaddr.sa, a->socklen, true, pretty); + return sockaddr_pretty(&a->sockaddr.sa, a->socklen, true, true, pretty); } int server_name_new(Manager *m, ServerName **ret, ServerType type,const char *string); |