From owner-svn-src-user@FreeBSD.ORG Fri Dec 25 00:45:38 2009 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDE0D10656A4; Fri, 25 Dec 2009 00:45:38 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A1F738FC1F; Fri, 25 Dec 2009 00:45:38 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBP0jcdW045795; Fri, 25 Dec 2009 00:45:38 GMT (envelope-from luigi@svn.freebsd.org) Received: (from luigi@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBP0jcAc045793; Fri, 25 Dec 2009 00:45:38 GMT (envelope-from luigi@svn.freebsd.org) Message-Id: <200912250045.nBP0jcAc045793@svn.freebsd.org> From: Luigi Rizzo Date: Fri, 25 Dec 2009 00:45:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200974 - user/luigi/ipfw3-head/sys/netinet/ipfw X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 00:45:38 -0000 Author: luigi Date: Fri Dec 25 00:45:38 2009 New Revision: 200974 URL: http://svn.freebsd.org/changeset/base/200974 Log: remove a useless local variable Modified: user/luigi/ipfw3-head/sys/netinet/ipfw/ip_fw_log.c Modified: user/luigi/ipfw3-head/sys/netinet/ipfw/ip_fw_log.c ============================================================================== --- user/luigi/ipfw3-head/sys/netinet/ipfw/ip_fw_log.c Fri Dec 25 00:37:29 2009 (r200973) +++ user/luigi/ipfw3-head/sys/netinet/ipfw/ip_fw_log.c Fri Dec 25 00:45:38 2009 (r200974) @@ -138,7 +138,6 @@ ipfw_log(struct ip_fw *f, u_int hlen, st struct mbuf *m, struct ifnet *oif, u_short offset, uint32_t tablearg, struct ip *ip) { - struct ether_header *eh = args->eh; char *action; int limit_reached = 0; char action2[40], proto[128], fragment[32]; @@ -409,7 +408,7 @@ ipfw_log(struct ip_fw *f, u_int hlen, st { int ip_off, ip_len; #ifndef HAVE_NET_IPLEN - if (eh == NULL) { + if (args->eh == NULL) { ip_off = ip->ip_off; ip_len = ip->ip_len; } else