forwarder: add the ability to specify local ip. #48

This commit is contained in:
nadoo committed 2018-08-15 00:54:17 +08:00
1 parent 205b4efac7
commit 39ccbc5adf
7 files changed
+44 -28

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ func NewDialer(s []string, c *Config) proxy.Dialer {
}
if len(fwdrs) == 0 {
return proxy.Direct
return proxy.Default
}
if len(fwdrs) == 1 {