summaryrefslogtreecommitdiffstats
path: root/proto/bgp
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-10-12 23:31:42 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-10-12 23:31:42 +0200
commit4cdd078453d585ac97a183ea1f3951d85f1b8784 (patch)
tree0379c01489f48ac7686d9c1cfdb139add00f6c05 /proto/bgp
parent52b9b2a1786140c38af03de570b0cc96c835c1d3 (diff)
downloadbird-4cdd078453d585ac97a183ea1f3951d85f1b8784.tar
bird-4cdd078453d585ac97a183ea1f3951d85f1b8784.zip
Implements protocol-specific router id and updates documentation.
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/bgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index b76b7f9..b38c6b1 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -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);