Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2009 00:45:38 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r200974 - user/luigi/ipfw3-head/sys/netinet/ipfw
Message-ID:  <200912250045.nBP0jcAc045793@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912250045.nBP0jcAc045793>