Add workaround for introduction of flowrib and re_rib() functional change.
authorclaudio <claudio@openbsd.org>
Wed, 19 Apr 2023 13:25:07 +0000 (13:25 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 19 Apr 2023 13:25:07 +0000 (13:25 +0000)
regress/usr.sbin/bgpd/unittests/rde_decide_test.c

index c521f90..2edfa34 100644 (file)
@@ -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 <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,