diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2000-11-01 16:56:33 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2000-11-01 16:56:33 +0000 |
| commit | 506f4949395e15eab13a4e26eaf7a12376bf8a01 (patch) | |
| tree | 9c7f442958fb0dff0381c1752afc7ac82aff1264 /sys/netinet/udp_usrreq.c | |
| parent | ac4c54948c01e9b5d72341e1f199656750a8dcdb (diff) | |
Notes
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
| -rw-r--r-- | sys/netinet/udp_usrreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 589fbef76d13..221dd8d4570c 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -220,7 +220,7 @@ udp_input(m, off, proto) uh->uh_sum = m->m_pkthdr.csum_data; else uh->uh_sum = in_pseudo(ip->ip_src.s_addr, - ip->ip_dst.s_addr, htonl(ip->ip_len + + ip->ip_dst.s_addr, htonl((u_short)len + m->m_pkthdr.csum_data + IPPROTO_UDP)); uh->uh_sum ^= 0xffff; } else { |
