diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-02-09 13:46:44 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-02-09 13:46:44 +0100 |
| commit | bae44e4b7653f91408044764d206d2415fc38d9f (patch) | |
| tree | 306818384482c1f8700548383270abc37ed0c35b /pimd/pim_mroute.c | |
| parent | 10c7cd3920b0105a009dae138a481f56473bc463 (diff) | |
| parent | 6431763d950ddebef060e1519b201709dc45570e (diff) | |
Merge branch 'frr/pull/186' (pimd register length)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_mroute.c')
| -rw-r--r-- | pimd/pim_mroute.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c index bd9a1c4605..b1cdaf9b95 100644 --- a/pimd/pim_mroute.c +++ b/pimd/pim_mroute.c @@ -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; } |
