]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
donotq unit test found a fix.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 19 Nov 2007 13:35:18 +0000 (13:35 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 19 Nov 2007 13:35:18 +0000 (13:35 +0000)
git-svn-id: file:///svn/unbound/branches/beta-0.7@768 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
iterator/iter_donotq.c

index 4b57e4982ab082291cdee57b1c43a330b8010d6d..716c391bed17e588a108109087056f4d3157d6e6 100644 (file)
@@ -6,6 +6,8 @@
                * README file updated.
                * nice libevent not found error.
                * README talks about gnu make.
+       - for 0.7.2:
+               * fixup for donotq matching.
 
 15 November 2007: Wouter
        - review fixups from Jelte.
index df0908ebdfcd1eefa5c8ec3624cf41150201a201..77ce7c54d326ec93745535ecd8d04bdd27544998 100644 (file)
@@ -112,7 +112,7 @@ donotq_insert(struct iter_donotq* dq, struct sockaddr_storage* addr,
 static void
 mask_block(int ip6, struct sockaddr_storage* addr, int net)
 {
-       uint8_t mask[8] = {0x0, 0x1, 0x3, 0x7, 0xf, 0x1f, 0x3f, 0x7f};
+       uint8_t mask[8] = {0x0, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe};
        int i, max;
        uint8_t* s;
        if(ip6) {