summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2018-09-09 12:39:52 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2018-09-09 12:39:52 +0000
commit77ee2db5be8b43e06e8f8bdd32c2cc8b5415d21c (patch)
tree8bb9cd940de821a156963bdb18493586e26e3c08
parent033dece138f8da8c2918f8b4656838f04121bf12 (diff)
Fixup unit test after change to trie_match (or-longer case)
-rw-r--r--regress/usr.sbin/bgpd/unittests/rde_trie_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.sbin/bgpd/unittests/rde_trie_test.c b/regress/usr.sbin/bgpd/unittests/rde_trie_test.c
index 7b9e427bd4f..f4d3fd50f6f 100644
--- a/regress/usr.sbin/bgpd/unittests/rde_trie_test.c
+++ b/regress/usr.sbin/bgpd/unittests/rde_trie_test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_trie_test.c,v 1.1 2018/09/07 16:10:42 claudio Exp $ */
+/* $OpenBSD: rde_trie_test.c,v 1.2 2018/09/09 12:39:51 claudio Exp $ */
/*
* Copyright (c) 2018 Claudio Jeker <claudio@openbsd.org>
@@ -173,7 +173,7 @@ test_file(FILE *in, struct trie_head *th)
if (!host_l(line, &prefix, &plen))
errx(1, "could not parse prefix \"%s\"", line);
printf("%s ", line);
- if (trie_match(th, &prefix, plen))
+ if (trie_match(th, &prefix, plen, 0))
printf("MATCH\n");
else
printf("miss\n");