From bea568aa1dbb47b3d5676478fcc64339a2012dcd Mon Sep 17 00:00:00 2001 From: claudio Date: Wed, 19 Apr 2023 13:25:07 +0000 Subject: [PATCH] Add workaround for introduction of flowrib and re_rib() functional change. --- regress/usr.sbin/bgpd/unittests/rde_decide_test.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/regress/usr.sbin/bgpd/unittests/rde_decide_test.c b/regress/usr.sbin/bgpd/unittests/rde_decide_test.c index c521f90d7ab..2edfa34b349 100644 --- 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.15 2023/02/13 18:09:05 claudio Exp $ */ +/* $OpenBSD: rde_decide_test.c,v 1.16 2023/04/19 13:25:07 claudio Exp $ */ /* * Copyright (c) 2020 Claudio Jeker @@ -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, -- 2.20.1