From: claudio Date: Wed, 19 Apr 2023 13:25:07 +0000 (+0000) Subject: Add workaround for introduction of flowrib and re_rib() functional change. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bea568aa1dbb47b3d5676478fcc64339a2012dcd;p=openbsd Add workaround for introduction of flowrib and re_rib() functional change. --- 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,