Author: luigi Date: Tue Dec 29 00:02:57 2009 New Revision: 201150 URL: http://svn.freebsd.org/changeset/base/201150
Log: we really need htonl() here, see the comment a few lines above in the code. Modified: head/sys/netinet/ipfw/ip_fw2.c Modified: head/sys/netinet/ipfw/ip_fw2.c ============================================================================== --- head/sys/netinet/ipfw/ip_fw2.c Mon Dec 28 23:12:55 2009 (r201149) +++ head/sys/netinet/ipfw/ip_fw2.c Tue Dec 29 00:02:57 2009 (r201150) @@ -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, _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"