Make private route allocation bidirectional

This commit is contained in:
Kyle H 2023-10-28 04:47:31 -04:00
parent 5691e5a6ac
commit 6ee78700f1
2 changed files with 2 additions and 2 deletions

View File

@ -268,7 +268,7 @@ impl VeilidAPI {
stability, stability,
sequencing, sequencing,
default_route_hop_count, default_route_hop_count,
Direction::Inbound.into(), DirectionSet::all(),
&[], &[],
)?; )?;
if !rss.test_route(route_id).await? { if !rss.test_route(route_id).await? {

View File

@ -32,7 +32,7 @@ use attachment_manager::AttachmentManager;
use core::fmt; use core::fmt;
use core_context::{api_shutdown, VeilidCoreContext}; use core_context::{api_shutdown, VeilidCoreContext};
use network_manager::NetworkManager; use network_manager::NetworkManager;
use routing_table::{Direction, RouteSpecStore, RoutingTable}; use routing_table::{DirectionSet, RouteSpecStore, RoutingTable};
use rpc_processor::*; use rpc_processor::*;
use storage_manager::StorageManager; use storage_manager::StorageManager;