[fix]code
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package provider
|
||||
|
||||
import "C"
|
||||
import (
|
||||
"github.com/Dreamacro/clash/constant"
|
||||
)
|
||||
@@ -79,6 +80,8 @@ const (
|
||||
Classical
|
||||
)
|
||||
|
||||
type Behavior int
|
||||
|
||||
// RuleType defined
|
||||
type RuleType int
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ const (
|
||||
SrcPort
|
||||
DstPort
|
||||
Process
|
||||
RuleSet
|
||||
Script
|
||||
MATCH
|
||||
)
|
||||
@@ -40,6 +41,8 @@ func (rt RuleType) String() string {
|
||||
return "DstPort"
|
||||
case Process:
|
||||
return "Process"
|
||||
case RuleSet:
|
||||
return "RuleSet"
|
||||
case Script:
|
||||
return "Script"
|
||||
case MATCH:
|
||||
|
||||
Reference in New Issue
Block a user