mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-30 22:25:41 +00:00
commit
b77da155be
@ -116,8 +116,8 @@ static void check_lookup_result(struct list *list, va_list arglist)
|
|||||||
assert(prefix_count == listcount(list));
|
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;
|
va_list arglist;
|
||||||
struct list *list = list_new();
|
struct list *list = list_new();
|
||||||
|
@ -821,6 +821,7 @@ static void parse_test(struct peer *peer, struct test_segment *t, int type)
|
|||||||
switch (type) {
|
switch (type) {
|
||||||
case CAPABILITY:
|
case CAPABILITY:
|
||||||
len += 2; /* to cover the OPT-Param header */
|
len += 2; /* to cover the OPT-Param header */
|
||||||
|
__attribute__ ((fallthrough));
|
||||||
case OPT_PARAM:
|
case OPT_PARAM:
|
||||||
printf("len: %u\n", len);
|
printf("len: %u\n", len);
|
||||||
/* peek_for_as4 wants getp at capibility*/
|
/* 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);
|
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));
|
memcpy(&dst6_p, dst_p, sizeof(dst6_p));
|
||||||
if (src_p)
|
if (src_p)
|
||||||
memcpy(&src6_p, src_p, sizeof(src6_p));
|
memcpy(&src6_p, src_p, sizeof(src6_p));
|
||||||
|
Loading…
Reference in New Issue
Block a user