we really need htonl() here, see the comment a few lines above in the code.

This commit is contained in:
Luigi Rizzo 2009-12-29 00:02:57 +00:00
parent 01d716fc66
commit bcd3b68dd2

View file

@ -1377,7 +1377,7 @@ do { \
else if (v == 2)
key = htonl(dst_port);
else if (v == 3)
key = htons(src_port);
key = htonl(src_port);
else if (v == 4 || v == 5) {
check_uidgid(
(ipfw_insn_u32 *)cmd,