From: claudio Date: Tue, 13 Apr 2021 07:43:23 +0000 (+0000) Subject: Fix rde_decide_test regress test X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=54fa1211070f73d783613dbbafaa4a6d204ba13e;p=openbsd Fix rde_decide_test regress test --- diff --git a/regress/usr.sbin/bgpd/unittests/rde_decide_test.c b/regress/usr.sbin/bgpd/unittests/rde_decide_test.c index f0b011b82af..8f8c4557145 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.4 2021/01/22 17:18:13 claudio Exp $ */ +/* $OpenBSD: rde_decide_test.c,v 1.5 2021/04/13 07:43:23 claudio Exp $ */ /* * Copyright (c) 2020 Claudio Jeker @@ -344,6 +344,12 @@ rde_local_as(void) return 65000; } +int +rde_evaluate_all(void) +{ + return 0; +} + int as_set_match(const struct as_set *aset, u_int32_t asnum) { @@ -357,7 +363,8 @@ rib_byid(u_int16_t id) } void -rde_generate_updates(struct rib *rib, struct prefix *new, struct prefix *old) +rde_generate_updates(struct rib *rib, struct prefix *new, struct prefix *old, + int eval_all) { /* maybe we want to do something here */ }