fix: ip matching problem and add control plane direct

This commit is contained in:
mzz2017
2023-01-24 16:27:19 +08:00
parent 799cd006c0
commit 14b215752f
9 changed files with 63 additions and 47 deletions

View File

@ -50,17 +50,17 @@ const (
type OutboundIndex uint8
const (
OutboundDirect OutboundIndex = 0
OutboundControlPlaneRoute OutboundIndex = 0xFE
OutboundLogicalAnd OutboundIndex = 0xFF
OutboundDirect OutboundIndex = 0
OutboundControlPlaneDirect OutboundIndex = 0xFE
OutboundLogicalAnd OutboundIndex = 0xFF
)
func (i OutboundIndex) String() string {
switch i {
case OutboundDirect:
return "direct"
case OutboundControlPlaneRoute:
return "<Control Plane Route>"
case OutboundControlPlaneDirect:
return "<Control Plane Direct>"
case OutboundLogicalAnd:
return "<AND>"
default: