diff options
author | glebius <glebius@FreeBSD.org> | 2013-11-14 14:20:35 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-11-14 14:20:35 +0000 |
commit | 544cc7da1e2d2b5eaee7344d5fdaebfba13d6ec5 (patch) | |
tree | c92a322deda9e7133cea9d11f8a7ebf5ccf99a03 /sys/i386 | |
parent | 5cc483db907f8cc46cc62a28d0713d938794559f (diff) | |
download | FreeBSD-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