mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-01 01:44:15 +00:00
Use 198.18.0.0/16 as default Fake IP Pool (#377)
This commit is contained in:
parent
e0526c27b3
commit
3fe85449a9
4 changed files with 14 additions and 6 deletions
|
@ -41,7 +41,7 @@ func NewFakeDNSHolder() (*Holder, error) {
|
|||
if fkdns, err = NewFakeDNSHolderConfigOnly(nil); err != nil {
|
||||
return nil, newError("Unable to create Fake Dns Engine").Base(err).AtError()
|
||||
}
|
||||
err = fkdns.initialize("240.0.0.0/8", 65535)
|
||||
err = fkdns.initialize(dns.FakeIPPool, 65535)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue