diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-11-12 16:46:48 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-11-12 19:24:04 +0100 |
commit | 4378495a277d171dc0469acdd62771c8ab8c24c3 (patch) | |
tree | 66c7fcc984ca0edf9f5eaabd1c4d5045aa5cb397 /tests/bgpd | |
parent | Merge pull request #10045 from qlyoung/fix-pr-10006 (diff) | |
download | frr-4378495a277d171dc0469acdd62771c8ab8c24c3.tar.xz frr-4378495a277d171dc0469acdd62771c8ab8c24c3.zip |
bgpd: Add vrf information to best path debugging
When debugging issues for routes in multiple vrf's. It would
be extremely useful if the debug output had which vrf we
are acting on.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/bgpd')
-rw-r--r-- | tests/bgpd/test_mpath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bgpd/test_mpath.c b/tests/bgpd/test_mpath.c index d1ca356b9..b93cbd8e5 100644 --- a/tests/bgpd/test_mpath.c +++ b/tests/bgpd/test_mpath.c @@ -330,7 +330,7 @@ static int run_bgp_path_info_mpath_update(testcase_t *t) bgp_mp_list_add(&mp_list, &test_mp_list_info[1]); new_best = &test_mp_list_info[3]; old_best = NULL; - bgp_path_info_mpath_update(&test_rn, new_best, old_best, &mp_list, + bgp_path_info_mpath_update(NULL, &test_rn, new_best, old_best, &mp_list, &mp_cfg); bgp_mp_list_clear(&mp_list); EXPECT_TRUE(bgp_path_info_mpath_count(new_best) == 2, test_result); @@ -345,7 +345,7 @@ static int run_bgp_path_info_mpath_update(testcase_t *t) bgp_mp_list_add(&mp_list, &test_mp_list_info[1]); new_best = &test_mp_list_info[0]; old_best = &test_mp_list_info[3]; - bgp_path_info_mpath_update(&test_rn, new_best, old_best, &mp_list, + bgp_path_info_mpath_update(NULL, &test_rn, new_best, old_best, &mp_list, &mp_cfg); bgp_mp_list_clear(&mp_list); EXPECT_TRUE(bgp_path_info_mpath_count(new_best) == 1, test_result); |