]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Correct 'was not internal' to 'was internal' in test_external_ip()
authorMrigyen Sawant <Mrigyen@users.noreply.github.com>
Tue, 7 Apr 2020 18:02:39 +0000 (23:32 +0530)
committerDavid Goulet <dgoulet@torproject.org>
Wed, 8 Apr 2020 13:41:58 +0000 (09:41 -0400)
src/test/test_addr.c

index af3c125a20008ac9b8de9c0275d2826173469c07..42232e467ade6b020ddbb82a934f3999f6e3c7af 100644 (file)
@@ -110,7 +110,7 @@ test_addr_basic(void *arg)
     tt_int_op(tor_inet_pton(AF_INET6, a, &t1.addr.in6_addr), OP_EQ, 1); \
     t1.family = AF_INET6;                                      \
     if (tor_addr_is_internal(&t1, for_listening))              \
-      TT_DIE(("%s was not internal", a));                      \
+      TT_DIE(("%s was internal", a));                      \
   STMT_END
 
 #ifndef COCCI