mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Fixes handling of 'next hop self' and 'source address' configuration
options.
This commit is contained in:
@@ -293,7 +293,7 @@ bgp_create_update(struct bgp_conn *conn, byte *buf)
|
||||
ASSERT(nh);
|
||||
ip = *(ip_addr *) nh->u.ptr->data;
|
||||
is_ll = 0;
|
||||
if (ipa_equal(ip, p->local_addr))
|
||||
if (ipa_equal(ip, p->source_addr))
|
||||
{
|
||||
is_ll = 1;
|
||||
ip_ll = p->local_link;
|
||||
|
Reference in New Issue
Block a user