]> granicus.if.org Git - icinga2/commitdiff
compat: Fix attribute name for hosts.
authorGunnar Beutner <gunnar@beutner.name>
Thu, 29 Aug 2013 17:48:54 +0000 (19:48 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Thu, 29 Aug 2013 17:48:54 +0000 (19:48 +0200)
components/compat/compatcomponent.cpp

index 103ac417f5768fe845546405d521644300b99bcf..69f6732b7f4c6303daf0bf717a4746b1d3b06966 100644 (file)
@@ -365,7 +365,7 @@ void CompatComponent::DumpHostObject(std::ostream& fp, const Host::Ptr& host)
 {
        fp << "define host {" << "\n"
           << "\t" << "host_name" << "\t" << host->GetName() << "\n"
-          << "\t" << "display_name" << "\t" << host->GetDisplayName() << "\n";
+          << "\t" << "alias" << "\t" << host->GetDisplayName() << "\n";
 
        std::set<Host::Ptr> parents = host->GetParentHosts();