s4-resolve: Fix parsing of IPv6/AAAA in dns_lookup (bug #9555)
authorArvid Requate <requate@univention.de>
Fri, 11 Jan 2013 13:17:06 +0000 (14:17 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 28 Jan 2013 08:26:20 +0000 (09:26 +0100)
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit bdc172aca541046fd03b2b0cd69e054fe03d3a89)

source4/libcli/resolve/dns_ex.c

index 7f5b84191a1312fab09a0e6789231658133b5bfc..bc64e8dd8d34e867cf5ce62d244207c0c814b964 100644 (file)
@@ -140,6 +140,7 @@ static int reply_to_addrs(TALLOC_CTX *mem_ctx, uint32_t *a_num,
                        if (addr == NULL) {
                                continue;
                        }
+                       break;
                default:
                        continue;
                }