Commit b7421d5f authored by Steven Allen's avatar Steven Allen

fix use of global address condition

parent e7e55bb5
......@@ -94,7 +94,7 @@ func newMultiDialer(unspec net.IP, listeners map[*listener]struct{}) dialer {
// find.
//
// TODO: Port priority? Addr priority?
if m.global != nil {
if m.global == nil {
m.global = &net.TCPAddr{
IP: unspec,
Port: laddr.Port,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment