diff --git a/netclient/functions/localport_freebsd.go b/netclient/functions/localport_freebsd.go index a24491a8..726dbb21 100644 --- a/netclient/functions/localport_freebsd.go +++ b/netclient/functions/localport_freebsd.go @@ -34,7 +34,7 @@ func UpdateLocalListenPort(nodeCfg *config.ClientConfig) error { var err error localPort, err := GetLocalListenPort(nodeCfg.Node.Interface) if err != nil { - logger.Log(1, "error encountered checking local listen port for interface : ",nodeCfg.Node.Interface err.Error()) + logger.Log(1, "error encountered checking local listen port for interface : ", nodeCfg.Node.Interface, err.Error()) } else if nodeCfg.Node.LocalListenPort != localPort && localPort != 0 { logger.Log(1, "local port has changed from ", strconv.Itoa(int(nodeCfg.Node.LocalListenPort)), " to ", strconv.Itoa(int(localPort))) nodeCfg.Node.LocalListenPort = localPort