diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-03-27 11:50:40 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2022-03-28 14:13:23 +0200 | 
| commit | 145e4c38b9d4b02f40a233cf6d83df0ef90b3902 (patch) | |
| tree | 0e85c0d3c5f4dd2b0211535a32fd84f02963777d /pimd/pim_pim.c | |
| parent | b6d9ad298d625c9ac18f45dd0591b7d51473f12d (diff) | |
pim6d: include IPv6 pseudoheader in TX checksums
Lots of passing src/dst around, but it is what it is.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_pim.c')
| -rw-r--r-- | pimd/pim_pim.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c index 1c8e31212e..b9867d3c49 100644 --- a/pimd/pim_pim.c +++ b/pimd/pim_pim.c @@ -704,7 +704,9 @@ static int hello_send(struct interface *ifp, uint16_t holdtime)  	assert(pim_msg_size >= PIM_PIM_MIN_LEN);  	assert(pim_msg_size <= PIM_PIM_BUFSIZE_WRITE); -	pim_msg_build_header(pim_msg, pim_msg_size, PIM_MSG_TYPE_HELLO, false); +	pim_msg_build_header(pim_ifp->primary_address, +			     qpim_all_pim_routers_addr, pim_msg, pim_msg_size, +			     PIM_MSG_TYPE_HELLO, false);  	if (pim_msg_send(pim_ifp->pim_sock_fd, pim_ifp->primary_address,  			 qpim_all_pim_routers_addr, pim_msg, pim_msg_size,  | 
