summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-06-29 19:02:27 +0200
committerGitHub <noreply@github.com>2022-06-29 19:02:27 +0200
commit03c95c540f1884dcaf74a81bc309fc51547054dd (patch)
treef2bdefc2ef09a6f5a23f3b54ecd02559d61dec48 /pimd
parentMerge pull request #11428 from SaiGomathiN/pimdebug (diff)
parentpimd: Register stop message sent with mask 32 (diff)
downloadfrr-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.c2
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);