From e27527939d2e0b38cbec9d24709ea2208d633306 Mon Sep 17 00:00:00 2001 From: claudio Date: Wed, 25 May 2022 16:56:04 +0000 Subject: [PATCH] Adjust code after adding an extra argument to community_ext_add --- regress/usr.sbin/bgpd/unittests/rde_community_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/usr.sbin/bgpd/unittests/rde_community_test.c b/regress/usr.sbin/bgpd/unittests/rde_community_test.c index 4c85c80c15c..bb327069906 100644 --- a/regress/usr.sbin/bgpd/unittests/rde_community_test.c +++ b/regress/usr.sbin/bgpd/unittests/rde_community_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_community_test.c,v 1.3 2022/02/07 09:31:21 claudio Exp $ */ +/* $OpenBSD: rde_community_test.c,v 1.4 2022/05/25 16:56:04 claudio Exp $ */ /* * Copyright (c) 2019 Claudio Jeker @@ -73,7 +73,7 @@ test_parsing(size_t num, uint8_t *in, size_t inlen) r = community_add(&comm, flags, in + skip, attr_len); break; case ATTR_EXT_COMMUNITIES: - r = community_ext_add(&comm, flags, in + skip, attr_len); + r = community_ext_add(&comm, flags, 0, in + skip, attr_len); break; case ATTR_LARGE_COMMUNITIES: r = community_large_add(&comm, flags, in + skip, attr_len); -- 2.20.1