pull/314/head v2.3
Darien Raymond 8 years ago
parent 67d597af95
commit 7a14f646ee
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -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},
},

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

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

File diff suppressed because it is too large Load Diff

@ -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",

Loading…
Cancel
Save