NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/41647
The following reply was made to PR kern/41647; it has been noted by GNATS.
From: Darren Reed <darrenr%netbsd.org@localhost>
To: Wolfgang.Stukenbrock%nagler-company.com@localhost
Cc: gnats-bugs%gnats.NetBSD.org@localhost
Subject: Re: kern/41647
Date: Sun, 05 Jul 2009 13:10:06 -0700
fr_getrulen() should use fg_start, not fg_head().
Index: fil.c
===================================================================
RCS file: /devel/CVS/IP-Filter/fil.c,v
retrieving revision 2.243.2.141
diff -c -r2.243.2.141 fil.c
*** fil.c 13 May 2009 18:31:10 -0000 2.243.2.141
--- fil.c 5 Jul 2009 20:05:27 -0000
***************
*** 3442,3448 ****
fg = fr_findgroup(group, unit, fr_active, NULL);
if (fg == NULL)
return NULL;
! for (fr = fg->fg_head; fr && n; fr = fr->fr_next, n--)
;
if (n != 0)
return NULL;
--- 3442,3448 ----
fg = fr_findgroup(group, unit, fr_active, NULL);
if (fg == NULL)
return NULL;
! for (fr = fg->fg_start; fr && n; fr = fr->fr_next, n--)
;
if (n != 0)
return NULL;
Home |
Main Index |
Thread Index |
Old Index