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
+1
-1
@@ -45,7 +45,7 @@ func DialerFromURL(s string, dialer Dialer) (Dialer, error) {
|
||||
}
|
||||
|
||||
if dialer == nil {
|
||||
dialer = Direct
|
||||
dialer = Default
|
||||
}
|
||||
|
||||
c, ok := dialerMap[strings.ToLower(u.Scheme)]
|
||||
|
||||
Reference in new issue
Block a user