summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
bb55444)
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Iea5dd2cfe9e7e5eb5d3b585312128c9c53f1198d
if ipString == "<nil>" {
host = fmt.Sprintf(":%d", GetPortData("http").Port)
} else {
if ipString == "<nil>" {
host = fmt.Sprintf(":%d", GetPortData("http").Port)
} else {
- host = fmt.Sprintf("%s:%d", ipString, GetPortData("http").Port)
+ host = fmt.Sprintf("[%s]:%d", ipString, GetPortData("http").Port)
}
go http.ListenAndServe(host, Resource.router)
Logger.Info(fmt.Sprintf("Xapp started, listening on: %s", host))
}
go http.ListenAndServe(host, Resource.router)
Logger.Info(fmt.Sprintf("Xapp started, listening on: %s", host))