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 (
OLCInput = "OPENLAN_in"
OLCForward = "OPENLAN_for"
OLCOutput = "OPENLAN_out"
OLCPre = "OPENLAN_pre"
OLCPost = "OPENLAN_pos"
OLCInput = "XTT_in"
OLCForward = "XTT_for"
OLCOutput = "XTT_out"
OLCPre = "XTT_pre"
OLCPost = "XTT_pos"
)
type FireWallGlobal struct {

View File

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