Fix --bind flag changes under go1.6

Correcting 9f24639568
This commit is contained in:
Nick Craig-Wood 2017-07-23 22:36:32 +01:00
parent 6fce1ac267
commit c3d6cc91ec

View File

@ -21,5 +21,5 @@ func (ci *ConfigInfo) dialTimeout(network, address string) (net.Conn, error) {
// Initialise the http.Transport for pre go1.7
func (ci *ConfigInfo) initTransport(t *http.Transport) {
t.Dial = dialTimeout
t.Dial = ci.dialTimeout
}