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: Bret Lambert (blambertcvs.openbsd.org)
Date: Fri Jun 26 2009 - 05:14:24 CDT


CVSROOT: /cvs
Module name: src
Changes by: blambertcvs.openbsd.org 2009/06/26 04:14:24

Modified files:
        sys/net : rtsock.c

Log message:
the pr_usrreq implementation for routing sockets shares exactly one line
of code between cases, so stop pretending otherwise, and move the
if() dance to a switch, as is done in every other pr_usrreq I'm aware of.

ok claudio michele