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: Christopher Pascoe (pascoecvs.openbsd.org)
Date: Sun Dec 02 2007 - 06:00:20 CST


CVSROOT: /cvs
Module name: src
Changes by: pascoecvs.openbsd.org 2007/12/02 05:00:20

Modified files:
        sys/net : pf_ioctl.c

Log message:
When pf_insert_state state succeeds, increase the state count on the
default rule.

When pf_insert_state fails, it's because a matching state already exists.
Return a better error code to the user in this case.

ok henning dlg