mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-10 11:09:52 +08:00
Fix: source ipcidr condition for rule IPCIDR
This commit is contained in:
parent
e8668f6c7b
commit
8b825ed706
@ -64,7 +64,7 @@ func NewIPCIDR(s string, adapter string, ruleExtra *C.RuleExtra, opts ...IPCIDRO
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errPayload
|
return nil, errPayload
|
||||||
}
|
}
|
||||||
ruleExtra.SourceIPs = nil
|
|
||||||
ipcidr := &IPCIDR{
|
ipcidr := &IPCIDR{
|
||||||
ipnet: ipnet,
|
ipnet: ipnet,
|
||||||
adapter: adapter,
|
adapter: adapter,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user