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: Thu May 26 2005 - 19:56:36 CDT


CVSROOT: /cvs
Module name: src
Changes by: claudiocvs.openbsd.org 2005/05/26 18:56:35

Modified files:
        usr.sbin/ospfd : rde_spf.c

Log message:
Only checking if w->cost is non equal to LS_INFINITY and w->prev is NULL is
not enough to distinguish between calculated vertexes and those just queued
in the candidate list. So add a additional check if the vertex is on the
candidate list. This fixes a problem Stephen Marley reported some time ago.
OK norby