Skip to content

Commit

Permalink
pim6d: Fix RpAddress in "show ipv6 pim bsm-database"
Browse files Browse the repository at this point in the history
The fix for issue #12089 was reverted while resolving conflict
for PR #11600.

Signed-off-by: Sarita Patra <[email protected]>
  • Loading branch information
patrasar committed Nov 25, 2022
1 parent 2c7c09d commit 5abe4ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pimd/pim_cmd_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -5610,7 +5610,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);
Expand Down

0 comments on commit 5abe4ee

Please sign in to comment.