From 54fa1211070f73d783613dbbafaa4a6d204ba13e Mon Sep 17 00:00:00 2001 From: claudio Date: Tue, 13 Apr 2021 07:43:23 +0000 Subject: [PATCH] Fix rde_decide_test regress test --- regress/usr.sbin/bgpd/unittests/rde_decide_test.c | 11 +++++++++-- 1 file changed, 9 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 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 */ } -- 2.20.1