节点状态记录是否检查到本地防火墙

This commit is contained in:
刘祥超
2022-04-21 18:14:53 +08:00
parent 5e1f8f305c
commit 67b982c67a
4 changed files with 17 additions and 1 deletions

View File

@@ -20,6 +20,11 @@ func (this *MockFirewall) IsReady() bool {
return true
}
// IsMock 是否为模拟
func (this *MockFirewall) IsMock() bool {
return true
}
// AllowPort 允许端口
func (this *MockFirewall) AllowPort(port int, protocol string) error {
_ = port