fea: network: set xtt as prefix name

Signed-off-by: zhihui.ding <danieldin186@gmail.com>
This commit is contained in:
zhihui.ding
2023-09-08 14:29:11 +08:00
parent ba15adf6bf
commit 0f257367ac
2 changed files with 6 additions and 6 deletions

View File

@@ -9,11 +9,11 @@ import (
) )
const ( const (
OLCInput = "OPENLAN_in" OLCInput = "XTT_in"
OLCForward = "OPENLAN_for" OLCForward = "XTT_for"
OLCOutput = "OPENLAN_out" OLCOutput = "XTT_out"
OLCPre = "OPENLAN_pre" OLCPre = "XTT_pre"
OLCPost = "OPENLAN_pos" OLCPost = "XTT_pos"
) )
type FireWallGlobal struct { type FireWallGlobal struct {

View File

@@ -13,7 +13,7 @@ type IPSet struct {
func NewIPSet(name, method string) *IPSet { func NewIPSet(name, method string) *IPSet {
return &IPSet{ return &IPSet{
Name: name, Name: "xtt_" + name,
Type: method, Type: method,
} }
} }