Update handling of api listen address override

This commit is contained in:
Daniel
2019-08-02 16:09:13 +02:00
parent edebfbd687
commit d01c619400
3 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ func prepAPIAuth() error {
func startAPIAuth() {
var err error
apiIP, apiPort, err = parseHostPort(api.GetAPIAddress())
apiIP, apiPort, err = parseHostPort(apiListenAddress())
if err != nil {
log.Warningf("firewall: failed to parse API address for improved api auth mechanism: %s", err)
}