]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fix merge error in ipv6hints
authorTom Carpay <tom@nlnetlabs.nl>
Tue, 25 May 2021 14:02:22 +0000 (16:02 +0200)
committerTom Carpay <tom@nlnetlabs.nl>
Tue, 25 May 2021 14:02:22 +0000 (16:02 +0200)
sldns/str2wire.c

index df244910e7c793776051c3f06a07b7d10d330d11..aec8e51fe3408031d7beb3a09ce98499b9039959 100644 (file)
@@ -1117,8 +1117,6 @@ sldns_str2wire_svcbparam_ipv6hint(const char* val, uint8_t* rd, size_t* rd_len)
                                break;
                        *rd_len += LDNS_IP6ADDRLEN;
 
-                       *rd_len += LDNS_IP6ADDRLEN;
-
                        assert(count == 1);
 
                } else if (next_ip_str - val >= (int)sizeof(ip_str))