summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_poison.c
diff options
context:
space:
mode:
authorlteo <lteo@openbsd.org>2014-01-11 04:35:52 +0000
committerlteo <lteo@openbsd.org>2014-01-11 04:35:52 +0000
commitb2b5e59be16c5901db999da017e311c22743216c (patch)
treeaa2e9152a27560a32f44f64110d18873aadf02d5 /sys/kern/subr_poison.c
parentCheck the return value of fstat() in readmsg(). (diff)
downloadwireguard-openbsd-b2b5e59be16c5901db999da017e311c22743216c.tar.xz
wireguard-openbsd-b2b5e59be16c5901db999da017e311c22743216c.zip
Make icmp_print() accept the length variable, which is the length of the
packet without the IP header. This is needed by the next commit that will allow tcpdump to detect bad ICMP checksums. Related functions like {tcp,udp,icmp6}_print() already accept this length variable, so this change makes icmp_print() consistent with them as well. This commit makes no functional change to tcpdump itself. OK florian@
Diffstat (limited to 'sys/kern/subr_poison.c')
0 files changed, 0 insertions, 0 deletions