Browse Source

1

nodeinfo-routing-update
jeka 4 weeks ago
parent
commit
4f20e12f8c
  1. 2
      src/route_bgp.c

2
src/route_bgp.c

@ -256,7 +256,7 @@ static void route_bgp_send_table_to_conn_internal(struct ROUTE_BGP* bgp, struct
struct ROUTE_TABLE* table = bgp->instance->rt; struct ROUTE_TABLE* table = bgp->instance->rt;
for (size_t i = 0; i < table->count; i++) { for (size_t i = 0; i < table->count; i++) {
route_bgp_send_route(bgp, conn, &table->entries[i]); if (table->entries[i].next_hop!=conn) route_bgp_send_route(bgp, conn, &table->entries[i]);
} }
DEBUG_INFO(DEBUG_CATEGORY_BGP, "Sent full routing table (%zu entries) to connection %p", DEBUG_INFO(DEBUG_CATEGORY_BGP, "Sent full routing table (%zu entries) to connection %p",

Loading…
Cancel
Save