summaryrefslogtreecommitdiff
path: root/src/libsystemd
diff options
context:
space:
mode:
authorShawn Landden <shawn@churchofgit.com>2015-03-10 04:41:59 -0700
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-10 09:00:27 -0400
commit3b1c524154c876aecebc98787975cc2943100210 (patch)
tree5e3c403a17419544bba867e24f2ecb41e01ef4c5 /src/libsystemd
parent54bcf1557c30d97d5ac0afaba003f69e58f82376 (diff)
add REMOTE_ADDR and REMOTE_PORT for Accept=yes
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/sd-resolve/test-resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-resolve/test-resolve.c b/src/libsystemd/sd-resolve/test-resolve.c
index 3187ce9b8a..354a4071b7 100644
--- a/src/libsystemd/sd-resolve/test-resolve.c
+++ b/src/libsystemd/sd-resolve/test-resolve.c
@@ -46,7 +46,7 @@ static int getaddrinfo_handler(sd_resolve_query *q, int ret, const struct addrin
for (i = ai; i; i = i->ai_next) {
_cleanup_free_ char *addr = NULL;
- assert_se(sockaddr_pretty(i->ai_addr, i->ai_addrlen, false, &addr) == 0);
+ assert_se(sockaddr_pretty(i->ai_addr, i->ai_addrlen, false, true, &addr) == 0);
puts(addr);
}