Skip to content

Commit

Permalink
fix: pass all TUN queues to workers
Browse files Browse the repository at this point in the history
  • Loading branch information
max-niederman committed Apr 23, 2024
1 parent 989bf3b commit b86cc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/centipede/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ fn main() -> Result<()> {
router.worker(),
control_message_sink.clone(),
tun_dev
.queue_nonblocking(0)
.queue_nonblocking(i)
.into_diagnostic()
.wrap_err_with(|| format!("failed to get TUN queue {}", i))?,
)
Expand Down

0 comments on commit b86cc99

Please sign in to comment.