mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Merge branch 'int-new' into show-route
This commit is contained in:
+1
-1
@@ -295,7 +295,7 @@ bgp_encode_next_hop(struct bgp_write_state *s, eattr *a, byte *buf, uint size)
|
||||
* store it and encode it later by AFI-specific hooks.
|
||||
*/
|
||||
|
||||
if (s->channel->afi == BGP_AF_IPV4)
|
||||
if ((s->channel->afi == BGP_AF_IPV4) && !s->channel->ext_next_hop)
|
||||
{
|
||||
ASSERT(a->u.ptr->length == sizeof(ip_addr));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user