diff options
Diffstat (limited to 'source4/libcli/resolve')
-rw-r--r-- | source4/libcli/resolve/dns_ex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/resolve/dns_ex.c b/source4/libcli/resolve/dns_ex.c index cb2d2c3d2c..1d56a4b4d5 100644 --- a/source4/libcli/resolve/dns_ex.c +++ b/source4/libcli/resolve/dns_ex.c @@ -267,7 +267,7 @@ static void run_child_dns_lookup(struct dns_ex_state *state, int fd) port = state->port; } - switch (rr->type) { + switch (addrs_rr[i]->type) { case rk_ns_t_a: if (inet_ntop(AF_INET, addrs_rr[i]->u.a, addrstr, sizeof(addrstr)) == NULL) { |