svn commit: r222849 - stable/8/sys/netinet/ipfw

Andrey V. Elsukov ae at FreeBSD.org
Wed Jun 8 04:50:23 UTC 2011


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);
 	}


More information about the svn-src-stable-8 mailing list