mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
forwarder: add the ability to specify local ip. #48
This commit is contained in:
1 parent
205b4efac7
commit
39ccbc5adf
7 files changed
+44
-28
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user