diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-01-10 12:28:26 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-01-10 12:28:26 +0000 |
commit | 8dd53ac18f0cdb713d66285fd5bf778cfdc47c7b (patch) | |
tree | 194eecb1d2682613ac07e22ed306f7c87bd4bbef /libexec | |
parent | f41871bceda51d5e9a1475ff8a8d358b2317b1ba (diff) |
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.
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions