merge develop into master #21
@ -76,7 +76,9 @@ func (p Peer) GetLocalHost() string {
|
||||
}
|
||||
|
||||
if len(addrs) > 0 {
|
||||
return addrs[0].String()
|
||||
addr := addrs[0].String()
|
||||
log.Printf("resolved interface `%s` to `%v`", p.LocalHost, addr)
|
||||
return addr
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user