diff options
author | 2014-01-11 04:35:52 +0000 | |
---|---|---|
committer | 2014-01-11 04:35:52 +0000 | |
commit | b2b5e59be16c5901db999da017e311c22743216c (patch) | |
tree | aa2e9152a27560a32f44f64110d18873aadf02d5 /sys/kern/subr_poison.c | |
parent | Check the return value of fstat() in readmsg(). (diff) | |
download | wireguard-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