mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
fix(gateway): filter packets not destined for a client (#7417)
This causes unnecessary logs higher up the stack.
This commit is contained in:
@@ -88,7 +88,9 @@ impl GatewayState {
|
||||
) -> Result<Option<snownet::EncryptedPacket>> {
|
||||
let dst = packet.destination();
|
||||
|
||||
anyhow::ensure!(is_client(dst), "Packet not destined for a client");
|
||||
if !is_client(dst) {
|
||||
return Ok(None);
|
||||
}
|
||||
|
||||
let peer = self
|
||||
.peers
|
||||
|
||||
Reference in New Issue
Block a user