fix socks5 config must take a username
This commit is contained in:
parent
f51b2741d3
commit
29b75ac739
@ -117,10 +117,10 @@ pub struct Relay {
|
||||
pub struct Local {
|
||||
pub server: SocketAddr,
|
||||
|
||||
#[serde(deserialize_with = "deserialize_optional_bytes")]
|
||||
#[serde(deserialize_with = "deserialize_optional_bytes", default)]
|
||||
pub username: Option<Vec<u8>>,
|
||||
|
||||
#[serde(deserialize_with = "deserialize_optional_bytes")]
|
||||
#[serde(deserialize_with = "deserialize_optional_bytes", default)]
|
||||
pub password: Option<Vec<u8>>,
|
||||
|
||||
pub dual_stack: Option<bool>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user