diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-13 12:14:53 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-25 20:50:29 +0200 |
commit | e3c5f7b6890a5c78f1ab3355e2215583d965658c (patch) | |
tree | c22fbd88e26495a9abfe173d95212ed2dc613492 /tests/lib | |
parent | Merge pull request #2711 from pacovn/isis_test_fixes (diff) | |
download | frr-e3c5f7b6890a5c78f1ab3355e2215583d965658c.tar.xz frr-e3c5f7b6890a5c78f1ab3355e2215583d965658c.zip |
tests: Fix const change
Some of the parameters for lib/srcdest.. have changed to
consts, make the test cases respect that.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/test_srcdest_table.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/test_srcdest_table.c b/tests/lib/test_srcdest_table.c index 53180564b..e717da15b 100644 --- a/tests/lib/test_srcdest_table.c +++ b/tests/lib/test_srcdest_table.c @@ -392,7 +392,8 @@ static void test_state_del_one_route(struct test_state *test, struct prng *prng) } assert(rn); - srcdest_rnode_prefixes(rn, &dst_p, &src_p); + srcdest_rnode_prefixes(rn, (const struct prefix **)&dst_p, + (const struct prefix **)&src_p); memcpy(&dst6_p, dst_p, sizeof(dst6_p)); if (src_p) memcpy(&src6_p, src_p, sizeof(src6_p)); |