mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-01 12:47:16 +00:00
Merge branch 'frr/pull/186' (pimd register length)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
commit
bae44e4b76
@ -236,8 +236,9 @@ pim_mroute_msg_wholepkt (int fd, struct interface *ifp, const char *buf)
|
||||
* If we've received a register suppress
|
||||
*/
|
||||
if (!up->t_rs_timer)
|
||||
pim_register_send((uint8_t *)buf + sizeof(struct ip), ntohs (ip_hdr->ip_len),
|
||||
pim_ifp->primary_address, rpg, 0, up);
|
||||
pim_register_send((uint8_t *)buf + sizeof(struct ip),
|
||||
ntohs (ip_hdr->ip_len) - sizeof (struct ip),
|
||||
pim_ifp->primary_address, rpg, 0, up);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user