From owner-cvs-all Tue Oct 3 5:18:14 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E7D0837B503; Tue, 3 Oct 2000 05:18:11 -0700 (PDT) Received: (from ru@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA51112; Tue, 3 Oct 2000 05:18:11 -0700 (PDT) (envelope-from ru@FreeBSD.org) Message-Id: <200010031218.FAA51112@freefall.freebsd.org> From: Ruslan Ermilov Date: Tue, 3 Oct 2000 05:18:11 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_fw.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ru 2000/10/03 05:18:11 PDT Modified files: sys/netinet ip_fw.c Log: Added the missing ntohs() conversion when matching IP packet with the IP_FW_IF_IPID rule. (We have recently decided to keep the ip_id field in network byte order inside the kernel, see revision 1.140 of src/sys/netinet/ip_input.c). I did not like to have the conversion happen in userland, and I think that the similar conversions for fw_tcp(seq|ack|win) should be moved out of userland (src/sbin/ipfw/ipfw.c) into the kernel. Revision Changes Path 1.143 +2 -2 src/sys/netinet/ip_fw.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message