1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-03 07:45:29 -05:00

rename IPNet to IPNetTable

This commit is contained in:
Darien Raymond
2017-08-29 13:51:09 +02:00
parent fee3042239
commit 815019f6da
5 changed files with 26 additions and 20 deletions

View File

@@ -17,7 +17,7 @@ func (r *Rule) Apply(ctx context.Context) bool {
}
func cidrToCondition(cidr []*CIDR, source bool) (Condition, error) {
ipv4Net := v2net.NewIPNet()
ipv4Net := v2net.NewIPNetTable()
ipv6Cond := NewAnyCondition()
hasIpv6 := false