s4-resolve: Fix parsing of IPv6/AAAA in dns_lookup (bug #9555)
[kai/samba.git] / 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;
                }