aboutsummaryrefslogtreecommitdiffstats
path: root/test/rspamd_radix_test.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-09-17 12:39:21 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-09-17 12:39:21 +0100
commitebb2128e867abbec8e7f568133821108e51ad76e (patch)
tree21ea8f03cbb062444fd9a3b544779a2fc8858ff9 /test/rspamd_radix_test.c
parent0165d618a35df03a94ef0a53a0fbfe5f98b3462e (diff)
downloadrspamd-ebb2128e867abbec8e7f568133821108e51ad76e.tar.gz
rspamd-ebb2128e867abbec8e7f568133821108e51ad76e.zip
Improve test vector.
Diffstat (limited to 'test/rspamd_radix_test.c')
-rw-r--r--test/rspamd_radix_test.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/rspamd_radix_test.c b/test/rspamd_radix_test.c
index db430b583..95650232d 100644
--- a/test/rspamd_radix_test.c
+++ b/test/rspamd_radix_test.c
@@ -40,9 +40,10 @@ struct _tv {
{"192.168.1.1", "192.168.1.2", "32", 0, 0, 0, 0},
{"192.168.1.0", "192.168.2.1", "24", 0, 0, 0, 0},
{"192.0.0.0", "193.167.2.1", "8", 0, 0, 0, 0},
- {"172.16.1.1", "171.16.1.0", "8", 0, 0, 0, 0},
- {"172.16.1.1", "127.0.0.1", "16", 0, 0, 0, 0},
- {"172.16.1.1", "10.0.0.1", "24", 0, 0, 0, 0},
+ {"172.0.0.0", "171.16.1.0", "8", 0, 0, 0, 0},
+ {"172.16.0.1", "127.0.0.1", "16", 0, 0, 0, 0},
+ {"172.17.1.0", "10.0.0.1", "27", 0, 0, 0, 0},
+ {"172.17.1.1", "0.0.0.1", "32", 0, 0, 0, 0},
{NULL, NULL, NULL, 0, 0, 0, 0}
};