diff options
author | Shawn Landden <shawn@churchofgit.com> | 2015-03-10 04:41:59 -0700 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-10 09:00:27 -0400 |
commit | 3b1c524154c876aecebc98787975cc2943100210 (patch) | |
tree | 5e3c403a17419544bba867e24f2ecb41e01ef4c5 /src/timesync | |
parent | 54bcf1557c30d97d5ac0afaba003f69e58f82376 (diff) |
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); |