mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 05:34:41 +00:00
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>
This commit is contained in:
parent
66bbedb069
commit
e3c5f7b689
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user