mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194290
@ -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