diff options
| author | Sarita Patra <saritap@vmware.com> | 2022-10-10 22:10:43 -0700 | 
|---|---|---|
| committer | Sarita Patra <saritap@vmware.com> | 2022-10-10 22:10:43 -0700 | 
| commit | 7e371efb85259b394a1f66f8b1fbd919fa68b3b1 (patch) | |
| tree | de4ffc784236dcf1744704a2d68c0fe0b42fd89a /pimd/pim_cmd.c | |
| parent | a00621d8b90cb1ddb91557f778c56b89a0b6e1ac (diff) | |
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 c2f7396c18..1496128c44 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);  | 
