From owner-cvs-all@FreeBSD.ORG Fri Feb 11 20:53:41 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6B4316A4CE; Fri, 11 Feb 2005 20:53:41 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA06A43D45; Fri, 11 Feb 2005 20:53:41 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1BKrfJ3014735; Fri, 11 Feb 2005 20:53:41 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1BKrf3a014734; Fri, 11 Feb 2005 20:53:41 GMT (envelope-from glebius) Message-Id: <200502112053.j1BKrf3a014734@repoman.freebsd.org> From: Gleb Smirnoff Date: Fri, 11 Feb 2005 20:53:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netgraph ng_ipfw.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 20:53:42 -0000 glebius 2005-02-11 20:53:41 UTC FreeBSD src repository Modified files: sys/netgraph ng_ipfw.c Log: Packets from ipfw come with IP header in host byte order. Netgraph works with net byte order. Change byte order to net in ng_ipfw_input(), change byte order to host before ip_output(), do not change before ip_input(). In collaboration with: ru Revision Changes Path 1.3 +12 -9 src/sys/netgraph/ng_ipfw.c