OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Cedric Berger (cedriccvs.openbsd.org)
Date: Thu Jul 03 2003 - 04:13:06 CDT


CVSROOT: /cvs
Module name: src
Changes by: cedriccvs.openbsd.org 2003/07/03 03:13:06

Modified files:
        usr.sbin/authpf: authpf.c
        sbin/pfctl : parse.y pfctl.c pfctl.h pfctl_parser.c
                         pfctl_parser.h pfctl_radix.c pfctl_table.c

Log message:
This patch finally cleanup pfctl_table.c. No more global buffer,
and a couple of parsing functions moved to parse.y or pfctl_parser
where they belong.

I also took the opportunity to replace "void" functions with exit(1)
or err() inside by "int" functions, with the caller checking the
return value for errors (much cleaner and an old request from Theo)

ok dhartmei henning