Fix IP address in SEMP messages
This commit is contained in:
parent
8b877822ff
commit
83430b71f5
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ func (s *SEMP) callbackURI() string {
|
|||
ip := "localhost"
|
||||
ips := util.LocalIPs()
|
||||
if len(ips) > 0 {
|
||||
ip = ips[0].String()
|
||||
ip = ips[0].IP.String()
|
||||
} else {
|
||||
s.log.ERROR.Printf("couldn't determine ip address- specify %s to override", sempBaseURLEnv)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue