[quagga-dev 1329] Re: ospfd dies -- bug in ospf_spf_consider_nexthop

Andrew J. Schorr aschorr at telemetry-investments.com
Thu Jul 1 15:33:07 BST 2004


On Thu, Jul 01, 2004 at 03:25:45PM +0100, Paul Jakma wrote:
> On Thu, 1 Jul 2004, Paul Jakma wrote:
> 
> >#define LIST_LOOP(L,V,T,N) \
> >for ((T) = (L)->head; (N) = (T)->next), (T != NULL); (T) = (N)) \
> > if (((V) = (T)->data) != NULL)
> 
> Urg, no go with that either, wont work. I cant think of a way to do 
> this.

Why won't that work?  It looks OK to me, it just has the problem of
being incompatible with the old macro (requires an additional argument).
I guess I'm missing something...

-Andy



More information about the Quagga-dev mailing list