Skip to content

Commit

Permalink
Merge pull request #12392 from patrasar/pimv6_bsm_cli
Browse files Browse the repository at this point in the history
pim6d: Fix RpAddress in "show ipv6 pim bsm-database"
  • Loading branch information
ton31337 authored Nov 25, 2022
2 parents a433c49 + 5abe4ee commit 3056025
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 3056025

Please sign in to comment.