Feature: support PROCESS-NAME on macOS

This commit is contained in:
Dreamacro
2020-07-19 13:17:05 +08:00
parent cf9e1545a4
commit ae1e1dc9f6
6 changed files with 194 additions and 2 deletions

View File

@ -10,6 +10,7 @@ const (
SrcIPCIDR
SrcPort
DstPort
Process
MATCH
)
@ -33,6 +34,8 @@ func (rt RuleType) String() string {
return "SrcPort"
case DstPort:
return "DstPort"
case Process:
return "Process"
case MATCH:
return "Match"
default: