[commit]
[Feat] add Pass type for support temporary skip rule set
This commit is contained in:
@ -368,6 +368,10 @@ func match(metadata *C.Metadata) (C.Proxy, C.Rule, error) {
|
||||
continue
|
||||
}
|
||||
|
||||
if adapter.Type() == C.Pass || (adapter.Unwrap(metadata) != nil && adapter.Unwrap(metadata).Type() == C.Pass) {
|
||||
continue
|
||||
}
|
||||
|
||||
if metadata.NetWork == C.UDP && !adapter.SupportUDP() {
|
||||
log.Debugln("%s UDP is not supported", adapter.Name())
|
||||
continue
|
||||
|
Reference in New Issue
Block a user