CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2011/01/10 05:28:25

Modified files:
        usr.sbin/ldpd  : hello.c interface.c ldpd.h ldpe.c ldpe.h 
                         neighbor.c packet.c 

Log message:
Fix a bad heritage from ospfd. Make neighbors independent of interfaces.
They are not bound as strongly as in ospf and causes problems when the
TCP connection is established from an not connected IP (e.g. a loopback).
Use three RB trees to sort the neighbor list by id, addr and peerid.
More cleanup is needed but this makes ldpd work against peers using
loopback IPs. Problem found, reported and fix tested again by Marcel Wiget.

Reply via email to