Skip to content

Commit 16ff8c8

Browse files
docs: fix acl documentation (#2027)
The list runs in `BlackList` mode when `[proxy_all]` is read, not `WhiteList`
1 parent 2fe2b07 commit 16ff8c8

File tree

1 file changed

+2
-2
lines changed
  • crates/shadowsocks-service/src/acl

1 file changed

+2
-2
lines changed

crates/shadowsocks-service/src/acl/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ impl ParsingRules {
323323
///
324324
/// Mode is the default ACL strategy for those addresses that are not in configuration file.
325325
///
326-
/// - `BlackList` - Bypasses / Rejects all addresses except those in `[proxy_list]` or `[white_list]`
327-
/// - `WhiteList` - Proxies / Accepts all addresses except those in `[bypass_list]` or `[black_list]`
326+
/// - `WhiteList` - Bypasses / Rejects all addresses except those in `[proxy_list]` or `[white_list]`
327+
/// - `BlackList` - Proxies / Accepts all addresses except those in `[bypass_list]` or `[black_list]`
328328
///
329329
/// ## Rules
330330
///

0 commit comments

Comments
 (0)