mirror of
https://github.com/luscis/openlan.git
synced 2025-10-24 01:13:26 +08:00
fea: network: set xtt as prefix name
Signed-off-by: zhihui.ding <danieldin186@gmail.com>
This commit is contained in:
@@ -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 {
|
||||||
|
@@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user