diff options
author | Sarita Patra <saritap@vmware.com> | 2022-10-11 07:10:43 +0200 |
---|---|---|
committer | Sarita Patra <saritap@vmware.com> | 2022-10-11 07:10:43 +0200 |
commit | 7e371efb85259b394a1f66f8b1fbd919fa68b3b1 (patch) | |
tree | de4ffc784236dcf1744704a2d68c0fe0b42fd89a /pimd/pim_cmd.c | |
parent | Merge pull request #12034 from opensourcerouting/fix/gr_hard_notification (diff) | |
download | frr-7e371efb85259b394a1f66f8b1fbd919fa68b3b1.tar.xz frr-7e371efb85259b394a1f66f8b1fbd919fa68b3b1.zip |
pim6d: Fix RpAddress in "show ipv6 pim bsm-database"
RpAddress is showing wrong value in
"show ipv6 pim bsm-database" cli. This is fixed now.
Issue: #12089
Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_cmd.c')
-rw-r--r-- | pimd/pim_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index c2f7396c1..1496128c4 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -963,7 +963,7 @@ static void pim_show_bsm_db(struct pim_instance *pim, struct vty *vty, bool uj) bsm_rpinfo = (struct bsmmsg_rpinfo *)buf; /* unaligned, again */ - memcpy(&rp_addr, &bsm_rpinfo->rpaddr, + memcpy(&rp_addr, &bsm_rpinfo->rpaddr.addr, sizeof(rp_addr)); buf += sizeof(struct bsmmsg_rpinfo); |