mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 19:50:18 +08:00
添加acl协议支持
This commit is contained in:
@@ -178,6 +178,9 @@ func SetGroup(g *Group) error {
|
||||
v.IpProto = waterutil.UDP
|
||||
case ICMP:
|
||||
v.IpProto = waterutil.ICMP
|
||||
default:
|
||||
// 其他类型都是 all
|
||||
v.Protocol = ALL
|
||||
}
|
||||
|
||||
portsStr := v.Port
|
||||
|
Reference in New Issue
Block a user