From owner-svn-src-all@FreeBSD.ORG Tue Jun 16 13:31:02 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0653A106566C; Tue, 16 Jun 2009 13:31:02 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E88D48FC13; Tue, 16 Jun 2009 13:31:01 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5GDV1QS028805; Tue, 16 Jun 2009 13:31:01 GMT (envelope-from rdivacky@svn.freebsd.org) Received: (from rdivacky@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5GDV1Gc028804; Tue, 16 Jun 2009 13:31:01 GMT (envelope-from rdivacky@svn.freebsd.org) Message-Id: <200906161331.n5GDV1Gc028804@svn.freebsd.org> From: Roman Divacky Date: Tue, 16 Jun 2009 13:31:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194290 - head/contrib/ipfilter/tools X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 13:31:02 -0000 Author: rdivacky Date: Tue Jun 16 13:31:01 2009 New Revision: 194290 URL: http://svn.freebsd.org/changeset/base/194290 Log: Fix a typo that causes the for loop to exit immediately. There's identical loop a few lines above. Reviewed by: sam Approved by: ed (mentor) Silence from: darrenr (maintainer) Modified: head/contrib/ipfilter/tools/ipfcomp.c Modified: head/contrib/ipfilter/tools/ipfcomp.c ============================================================================== --- head/contrib/ipfilter/tools/ipfcomp.c Tue Jun 16 13:05:34 2009 (r194289) +++ head/contrib/ipfilter/tools/ipfcomp.c Tue Jun 16 13:31:01 2009 (r194290) @@ -382,7 +382,7 @@ extern frentry_t *ipfrule_match_out_%s _ extern frentry_t *ipf_rules_out_%s[%d];\n", grp->fg_name, grp->fg_name, outcount); - for (g = groups; g != g; g = g->fg_next) + for (g = groups; g != grp; g = g->fg_next) if ((strncmp(g->fg_name, grp->fg_name, FR_GROUPLEN) == 0) && g->fg_flags == grp->fg_flags)