Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2011 04:50:23 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r222849 - stable/8/sys/netinet/ipfw
Message-ID:  <201106080450.p584oNZn015085@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Wed Jun  8 04:50:23 2011
New Revision: 222849
URL: http://svn.freebsd.org/changeset/base/222849

Log:
  MFC r222559:
    Hide useless warning under debug macro.
  
    PR:		kern/69963, kern/139226

Modified:
  stable/8/sys/netinet/ipfw/ip_fw_dynamic.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/netinet/ipfw/ip_fw_dynamic.c
==============================================================================
--- stable/8/sys/netinet/ipfw/ip_fw_dynamic.c	Wed Jun  8 04:06:56 2011	(r222848)
+++ stable/8/sys/netinet/ipfw/ip_fw_dynamic.c	Wed Jun  8 04:50:23 2011	(r222849)
@@ -753,11 +753,12 @@ ipfw_install_state(struct ip_fw *rule, i
 	q = lookup_dyn_rule_locked(&args->f_id, NULL, NULL);
 
 	if (q != NULL) {	/* should never occur */
+		DEB(
 		if (last_log != time_uptime) {
 			last_log = time_uptime;
 			printf("ipfw: %s: entry already present, done\n",
 			    __func__);
-		}
+		})
 		IPFW_DYN_UNLOCK();
 		return (0);
 	}



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