artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb8f17e
)
Fixup unit test after change to trie_match (or-longer case)
author
claudio
<claudio@openbsd.org>
Sun, 9 Sep 2018 12:39:51 +0000
(12:39 +0000)
committer
claudio
<claudio@openbsd.org>
Sun, 9 Sep 2018 12:39:51 +0000
(12:39 +0000)
regress/usr.sbin/bgpd/unittests/rde_trie_test.c
patch
|
blob
|
history
diff --git
a/regress/usr.sbin/bgpd/unittests/rde_trie_test.c
b/regress/usr.sbin/bgpd/unittests/rde_trie_test.c
index
7b9e427
..
f4d3fd5
100644
(file)
--- 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");