From cffd2970839279713ad72aaa447878e775a913d3 Mon Sep 17 00:00:00 2001 From: claudio Date: Sun, 9 Sep 2018 12:39:51 +0000 Subject: [PATCH] Fixup unit test after change to trie_match (or-longer case) --- regress/usr.sbin/bgpd/unittests/rde_trie_test.c | 4 ++-- 1 file 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 @@ -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"); -- 2.20.1