From e8fb7206fc6c635f6d6f87ed8c99eaccf5659016 Mon Sep 17 00:00:00 2001 From: Karolin Varner Date: Tue, 8 Apr 2025 16:29:28 +0200 Subject: [PATCH] fix: Wrong host identification in poll_example --- rosenpass/tests/poll_example.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rosenpass/tests/poll_example.rs b/rosenpass/tests/poll_example.rs index fcb4ffd..d3c0e30 100644 --- a/rosenpass/tests/poll_example.rs +++ b/rosenpass/tests/poll_example.rs @@ -510,8 +510,11 @@ impl ServerPtr { // Let the crypto server handle the message now let mut tx_buf = MsgBuf::zero(); let handle_msg_result = if self.get(sim).under_load { - self.srv_mut(sim) - .handle_msg_under_load(rx_msg.borrow(), tx_buf.borrow_mut(), &self) + self.srv_mut(sim).handle_msg_under_load( + rx_msg.borrow(), + tx_buf.borrow_mut(), + &self.other(), + ) } else { self.srv_mut(sim) .handle_msg(rx_msg.borrow(), tx_buf.borrow_mut())