diff options
author | Donald Sharp <donaldsharp72@gmail.com> | 2022-06-29 19:02:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 19:02:27 +0200 |
commit | 03c95c540f1884dcaf74a81bc309fc51547054dd (patch) | |
tree | f2bdefc2ef09a6f5a23f3b54ecd02559d61dec48 /pimd | |
parent | Merge pull request #11428 from SaiGomathiN/pimdebug (diff) | |
parent | pimd: Register stop message sent with mask 32 (diff) | |
download | frr-03c95c540f1884dcaf74a81bc309fc51547054dd.tar.xz frr-03c95c540f1884dcaf74a81bc309fc51547054dd.zip |
Merge pull request #11493 from patrasar/pim_reg_stop_fix
pimd: Register stop message sent with mask 32
Diffstat (limited to 'pimd')
-rw-r--r-- | pimd/pim_tlv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_tlv.c b/pimd/pim_tlv.c index 90bf79909..65975ce14 100644 --- a/pimd/pim_tlv.c +++ b/pimd/pim_tlv.c @@ -218,7 +218,7 @@ int pim_encode_addr_group(uint8_t *buf, afi_t afi, int bidir, int scope, *buf++ = PIM_MSG_ADDRESS_FAMILY; *buf++ = 0; *buf++ = flags; - *buf++ = sizeof(group) / 8; + *buf++ = sizeof(group) * 8; memcpy(buf, &group, sizeof(group)); buf += sizeof(group); |