diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2009-06-16 13:31:01 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2009-06-16 13:31:01 +0000 |
commit | 9d18ee7303ef26826d2c96ca85f93c5aa631e565 (patch) | |
tree | b32035f586498eb728f8ea54cd3af5ce7a0ceec1 | |
parent | d0cf1664967cf5fe1c08502ca611348ebffff25c (diff) | |
download | FreeBSD-src-9d18ee7303ef26826d2c96ca85f93c5aa631e565.zip FreeBSD-src-9d18ee7303ef26826d2c96ca85f93c5aa631e565.tar.gz |
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)
-rw-r--r-- | contrib/ipfilter/tools/ipfcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ipfilter/tools/ipfcomp.c b/contrib/ipfilter/tools/ipfcomp.c index 1e26de5..e00fe84 100644 --- a/contrib/ipfilter/tools/ipfcomp.c +++ b/contrib/ipfilter/tools/ipfcomp.c @@ -382,7 +382,7 @@ extern frentry_t *ipfrule_match_out_%s __P((fr_info_t *, u_32_t *));\n\ 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) |