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: Claudio Jeker (claudiocvs.openbsd.org)
Date: Fri Jun 13 2008 - 16:49:57 CDT


CVSROOT: /cvs
Module name: src
Changes by: claudiocvs.openbsd.org 2008/06/13 15:49:57

Modified files:
        sys/net : rtsock.c

Log message:
Change the logic when selecting routes on RTM_CHANGE & RTM_GET. RTM_CHANGE
can not supply the correct nexthop if the nexthop is changed. So if the
route we want to change is a non-multipath one allow the change to succeed.
This unbreaks RTM_CHANGE in most situations. Found by jsing Ok henning