From 3b1c524154c876aecebc98787975cc2943100210 Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Tue, 10 Mar 2015 04:41:59 -0700 Subject: add REMOTE_ADDR and REMOTE_PORT for Accept=yes --- src/timesync/timesyncd-server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/timesync') 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); -- cgit v1.2.3-54-g00ecf