]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Patch infinite loop introduced in the last commit
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Fri, 15 Mar 2019 00:28:18 +0000 (18:28 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Fri, 15 Mar 2019 00:28:18 +0000 (18:28 -0600)
src/resource/ip6.c

index 20acce15967abfb8c3ef9f2054ace588d050aac6..f73d84d2b73842d1b37e5578fbe5e1e2d3e6cc58 100644 (file)
@@ -36,7 +36,7 @@ static bool
 addr_is_successor(struct in6_addr const *a, struct in6_addr const *b)
 {
        struct in6_addr a_plus_1;
-       unsigned int i;
+       int i;
 
        memcpy(&a_plus_1, a, sizeof(a_plus_1));
        for (i = 15; i >= 0; i--) {