mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 17:44:38 +00:00
commit
b77da155be
@ -116,8 +116,8 @@ static void check_lookup_result(struct list *list, va_list arglist)
|
||||
assert(prefix_count == listcount(list));
|
||||
}
|
||||
|
||||
static void do_test(struct bgp_table *table, const char *prefix, uint8_t maxlen,
|
||||
...)
|
||||
static void do_test(struct bgp_table *table, const char *prefix,
|
||||
uint32_t maxlen, ...)
|
||||
{
|
||||
va_list arglist;
|
||||
struct list *list = list_new();
|
||||
|
@ -821,6 +821,7 @@ static void parse_test(struct peer *peer, struct test_segment *t, int type)
|
||||
switch (type) {
|
||||
case CAPABILITY:
|
||||
len += 2; /* to cover the OPT-Param header */
|
||||
__attribute__ ((fallthrough));
|
||||
case OPT_PARAM:
|
||||
printf("len: %u\n", len);
|
||||
/* peek_for_as4 wants getp at capibility*/
|
||||
|
@ -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