svn commit: r222850 - stable/7/sys/netinet

Andrey V. Elsukov ae at FreeBSD.org
Wed Jun 8 04:54:22 UTC 2011


Author: ae
Date: Wed Jun  8 04:54:22 2011
New Revision: 222850
URL: http://svn.freebsd.org/changeset/base/222850

Log:
  MFC r222559:
    Hide useless warning under debug macro.
  
    PR:           kern/69963, kern/139226
  
    This is direct commit to stable/7.

Modified:
  stable/7/sys/netinet/ip_fw2.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/netinet/ip_fw2.c
==============================================================================
--- stable/7/sys/netinet/ip_fw2.c	Wed Jun  8 04:50:23 2011	(r222849)
+++ stable/7/sys/netinet/ip_fw2.c	Wed Jun  8 04:54:22 2011	(r222850)
@@ -1460,11 +1460,12 @@ install_state(struct ip_fw *rule, ipfw_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-7 mailing list