summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-11-14 14:20:35 +0000
committerglebius <glebius@FreeBSD.org>2013-11-14 14:20:35 +0000
commit544cc7da1e2d2b5eaee7344d5fdaebfba13d6ec5 (patch)
treec92a322deda9e7133cea9d11f8a7ebf5ccf99a03 /sys/i386
parent5cc483db907f8cc46cc62a28d0713d938794559f (diff)
downloadFreeBSD-src-544cc7da1e2d2b5eaee7344d5fdaebfba13d6ec5.zip
FreeBSD-src-544cc7da1e2d2b5eaee7344d5fdaebfba13d6ec5.tar.gz
Some fixups to pf_get_sport after r257223:
- Do not return blindly if proto isn't ICMP. - The dport is in network order, so fix comparisons. - Remove ridiculous htonl(arc4random()). - Push local variable to a narrower block.
Diffstat (limited to 'sys/i386')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud