artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd2a9ed
)
Add workaround for introduction of flowrib and re_rib() functional change.
author
claudio
<claudio@openbsd.org>
Wed, 19 Apr 2023 13:25:07 +0000
(13:25 +0000)
committer
claudio
<claudio@openbsd.org>
Wed, 19 Apr 2023 13:25:07 +0000
(13:25 +0000)
regress/usr.sbin/bgpd/unittests/rde_decide_test.c
patch
|
blob
|
history
diff --git
a/regress/usr.sbin/bgpd/unittests/rde_decide_test.c
b/regress/usr.sbin/bgpd/unittests/rde_decide_test.c
index
c521f90
..
2edfa34
100644
(file)
--- a/
regress/usr.sbin/bgpd/unittests/rde_decide_test.c
+++ b/
regress/usr.sbin/bgpd/unittests/rde_decide_test.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: rde_decide_test.c,v 1.1
5 2023/02/13 18:09:05
claudio Exp $ */
+/* $OpenBSD: rde_decide_test.c,v 1.1
6 2023/04/19 13:25:07
claudio Exp $ */
/*
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
@@
-32,7
+32,9
@@
struct rib dummy_rib = {
.flags = 0,
};
-struct rib_entry dummy_re;
+struct rib flowrib;
+struct pt_entry dummy_pt;
+struct rib_entry dummy_re = { .prefix = &dummy_pt };
struct rde_peer peer1 = {
.conf.ebgp = 1,