svn commit: r200974 - user/luigi/ipfw3-head/sys/netinet/ipfw
Luigi Rizzo
luigi at FreeBSD.org
Fri Dec 25 00:45:38 UTC 2009
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
More information about the svn-src-user
mailing list