chore: add description

This commit is contained in:
Skyxim 2022-10-04 22:16:03 +08:00
parent f2b5ae6894
commit e4138c3e1e

View File

@ -416,6 +416,7 @@ func match(metadata *C.Metadata) (C.Proxy, C.Rule, error) {
continue
}
// only unwrap one group, multi-layer nesting will be invalid
if adapter.Type() == C.Pass || (adapter.Unwrap(metadata) != nil && adapter.Unwrap(metadata).Type() == C.Pass) {
log.Debugln("%s match Pass rule", adapter.Name())
continue