1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Implements protocol-specific router id and updates documentation.

This commit is contained in:
Ondrej Zajicek
2009-10-12 23:31:42 +02:00
parent 52b9b2a178
commit 4cdd078453
6 changed files with 42 additions and 2 deletions

View File

@@ -689,7 +689,7 @@ bgp_start_locked(struct object_lock *lock)
}
DBG("BGP: Got lock\n");
p->local_id = cf->c.global->router_id;
p->local_id = proto_get_router_id(&cf->c);
p->next_hop = cf->multihop ? cf->multihop_via : cf->remote_ip;
p->neigh = neigh_find(&p->p, &p->next_hop, NEF_STICKY);