1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-10 18:00:43 +00:00
This commit is contained in:
Darien Raymond 2016-10-17 14:44:06 +02:00
parent 67d597af95
commit 7a14f646ee
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
5 changed files with 7634 additions and 7635 deletions

View File

@ -89,7 +89,7 @@ func TestIPResolution(t *testing.T) {
space.BindApp(router.APP_ID, r)
dnsServer := dns.NewCacheServer(space, &dns.Config{
Hosts: map[string]*v2net.IPOrDomain{
"v2ray.com": &v2net.IPOrDomain{
"v2ray.com": {
Address: &v2net.IPOrDomain_Ip{
Ip: []byte{127, 0, 0, 1},
},

View File

@ -1,7 +1,5 @@
package inbound
import ()
func (this *Config) GetDefaultValue() *DefaultConfig {
if this.GetDefault() == nil {
return &DefaultConfig{

View File

@ -1,3 +1 @@
package outbound
import ()

File diff suppressed because it is too large Load Diff

View File

@ -57,7 +57,7 @@ func NewPoint(pConfig *Config) (*Point, error) {
if !space.HasApp(dns.APP_ID) {
dnsServer := dns.NewCacheServer(space, &dns.Config{
NameServers: []*v2net.Endpoint{
&v2net.Endpoint{
{
Address: &v2net.IPOrDomain{
Address: &v2net.IPOrDomain_Domain{
Domain: "localhost",