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)
This commit is contained in:
parent
dd7e4d21cc
commit
5caf16048e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user