Subject: CVS commit: src/dist/pf/sbin/pfctl
To: None <source-changes@NetBSD.org>
From: Peter Postma <peter@netbsd.org>
List: source-changes
Date: 07/03/2006 20:26:19
Module Name:	src
Committed By:	peter
Date:		Mon Jul  3 20:26:19 UTC 2006

Modified Files:
	src/dist/pf/sbin/pfctl: pfctl_parser.c

Log Message:
Revert previous and fix properly.
- The array must be NULL terminated because other code depends on it.
- Use this terminator to check if we're at the end of the array instead
  of doing sizeof(pf_timeouts) / sizeof(pf_timeouts[0]).


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/dist/pf/sbin/pfctl/pfctl_parser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.