Skip to content

Commit

Permalink
Fixed build redir_local
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed Nov 1, 2020
1 parent ed9accf commit 75c30dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/relay/udprelay/redir_local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use std::{io, net::SocketAddr};

use async_trait::async_trait;
use log::{error, info, trace};
use log::{debug, info, trace};

use crate::{
config::RedirType,
Expand Down Expand Up @@ -128,7 +128,7 @@ pub async fn run(context: SharedContext) -> io::Result<()> {
Ok(s) => s,
Err(err) => {
debug!("create UDP association for {} <-> {}, error: {}", src, dst, err);
continue;
return Err(err);
}
};

Expand Down

0 comments on commit 75c30dc

Please sign in to comment.