chore: add description

This commit is contained in:
gVisor bot 2022-10-04 22:16:03 +08:00
parent 81c73e3800
commit 894b37b4f3

View file

@ -416,6 +416,7 @@ func match(metadata *C.Metadata) (C.Proxy, C.Rule, error) {
continue 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) { if adapter.Type() == C.Pass || (adapter.Unwrap(metadata) != nil && adapter.Unwrap(metadata).Type() == C.Pass) {
log.Debugln("%s match Pass rule", adapter.Name()) log.Debugln("%s match Pass rule", adapter.Name())
continue continue