Skip to content

Commit

Permalink
Partially support OOCv1 shadowsocks server block
Browse files Browse the repository at this point in the history
OOCv1: https://github.com/Shadowsocks-NET/OpenOnlineConfig/blob/master/docs/0002-open-online-config-v1-shadowsocks.md

Couldn't support "pluginName" because "plugin" is now used as a path
  • Loading branch information
zonyitoo committed Sep 21, 2021
1 parent 0522f57 commit 5029279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/shadowsocks-service/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ struct SSConfig {
udp_timeout: Option<u64>,
#[serde(skip_serializing_if = "Option::is_none")]
udp_max_associations: Option<usize>,
#[serde(skip_serializing_if = "Option::is_none")]
#[serde(skip_serializing_if = "Option::is_none", alias = "shadowsocks")]
servers: Option<Vec<SSServerExtConfig>>,
#[serde(skip_serializing_if = "Option::is_none")]
locals: Option<Vec<SSLocalExtConfig>>,
Expand Down

0 comments on commit 5029279

Please sign in to comment.