From: Alan T. DeKok Date: Fri, 30 Jul 2021 13:24:18 +0000 (-0400) Subject: print ip, not fr_ipaddr_t X-Git-Tag: release_3_0_24~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f365b23c591fd97230a79dca6e0c1b57623b0ab;p=thirdparty%2Ffreeradius-server.git print ip, not fr_ipaddr_t --- diff --git a/src/main/tls_listen.c b/src/main/tls_listen.c index 3cc1b6b6c7..f7506a3d2d 100644 --- a/src/main/tls_listen.c +++ b/src/main/tls_listen.c @@ -273,9 +273,9 @@ static int proxy_protocol_check(rad_listen_t *listener, REQUEST *request) RDEBUG("(TLS) Received PROXY protocol connection from client %s:%s -> %s:%s, via proxy %s:%u -> %s:%u", argv[0], argv[2], argv[1], argv[3], - inet_ntop(af, &sock->haproxy_src_ipaddr, src_buf, sizeof(src_buf)), + inet_ntop(af, &sock->haproxy_src_ipaddr.ipaddr, src_buf, sizeof(src_buf)), sock->haproxy_src_port, - inet_ntop(af, &sock->haproxy_dst_ipaddr, dst_buf, sizeof(dst_buf)), + inet_ntop(af, &sock->haproxy_dst_ipaddr.ipaddr, dst_buf, sizeof(dst_buf)), sock->haproxy_dst_port); }