From 6ee78700f1961c118caf27bdec4352cd49bc94ad Mon Sep 17 00:00:00 2001 From: Kyle H Date: Sat, 28 Oct 2023 04:47:31 -0400 Subject: [PATCH] Make private route allocation bidirectional --- veilid-core/src/veilid_api/api.rs | 2 +- veilid-core/src/veilid_api/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/veilid-core/src/veilid_api/api.rs b/veilid-core/src/veilid_api/api.rs index 496dcf66..00ac66b6 100644 --- a/veilid-core/src/veilid_api/api.rs +++ b/veilid-core/src/veilid_api/api.rs @@ -268,7 +268,7 @@ impl VeilidAPI { stability, sequencing, default_route_hop_count, - Direction::Inbound.into(), + DirectionSet::all(), &[], )?; if !rss.test_route(route_id).await? { diff --git a/veilid-core/src/veilid_api/mod.rs b/veilid-core/src/veilid_api/mod.rs index 67bea676..9250a8ed 100644 --- a/veilid-core/src/veilid_api/mod.rs +++ b/veilid-core/src/veilid_api/mod.rs @@ -32,7 +32,7 @@ use attachment_manager::AttachmentManager; use core::fmt; use core_context::{api_shutdown, VeilidCoreContext}; use network_manager::NetworkManager; -use routing_table::{Direction, RouteSpecStore, RoutingTable}; +use routing_table::{DirectionSet, RouteSpecStore, RoutingTable}; use rpc_processor::*; use storage_manager::StorageManager;