Skip to content

Commit

Permalink
feat: routing agents can now trigger deletions of bundles with an emp…
Browse files Browse the repository at this point in the history
…ty CLA sender list
  • Loading branch information
gh0st42 committed May 6, 2024
1 parent aa03c7b commit b3a6065
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/dtn7/src/core/processing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ pub async fn forward(mut bp: BundlePack) -> Result<()> {

if nodes.is_empty() {
trace!("No new peers for forwarding of bundle {}", &bp.id());
if delete_afterwards {
store_remove(&bpid)?;
}
} else {
debug!("Attempting forwarding of {} to nodes: {:?}", bp.id(), nodes);

Expand Down

0 comments on commit b3a6065

Please sign in to comment.