Mercurial > hg > nginx-tests
changeset 484:34a6e880123b
Tests: fixed proxy_next_upstream_tries with IPv6 enabled resolver.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 28 Oct 2014 17:21:01 +0300 |
parents | cebd7b8ca5b8 |
children | cbfe90b632e8 |
files | proxy_next_upstream_tries.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/proxy_next_upstream_tries.t Tue Oct 28 16:37:25 2014 +0300 +++ b/proxy_next_upstream_tries.t Tue Oct 28 17:21:01 2014 +0300 @@ -218,7 +218,7 @@ $offset -= 1; my ($id, $type, $class) = unpack("n x$offset n2", $recv_data); - @rdata = map { rd_addr($ttl, '127.0.0.1') } (1 .. 3); + @rdata = map { rd_addr($ttl, '127.0.0.1') } (1 .. 3) if $type == A;; $len = @name; pack("n6 (w/a*)$len x n2", $id, $hdr | $rcode, 1, scalar @rdata,