aboutsummaryrefslogtreecommitdiff
path: root/contrib/tcpdump/print-ppp.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2026-08-26 05:27:28 +0000
committerCy Schubert <cy@FreeBSD.org>2026-11-09 22:20:49 +0000
commit72cc9e3766f4222fa7fc462bc669dcf668e8b334 (patch)
tree94731675b4263063dc5579e2cfbc2ed01a03e577 /contrib/tcpdump/print-ppp.c
parent425e4c102f8aedfc7c439bb01d648aabac798888 (diff)
ipfilter: Only recalculate the UDP header when we have oneHEADmain
When ipf_nat_out processes NAT_DIVERTOUT (ipnat rdr statements) it also fixes the checksum in the UDP header. Test for a UDP header before adjusting its length. While we are here, the length in the UDP header must be converted from network byte order to host byte order. Add the missing ntohs(). PR: 296944 MFC after: 3 days
Diffstat (limited to 'contrib/tcpdump/print-ppp.c')
0 files changed, 0 insertions, 0 deletions