diff --git a/doc/17-language-reference.md b/doc/17-language-reference.md index 4c0f76085..7d732427e 100644 --- a/doc/17-language-reference.md +++ b/doc/17-language-reference.md @@ -504,7 +504,7 @@ Environment |**Read-write.** The name of the Icinga environment. Include RunAsUser |**Read-write.** Defines the user the Icinga 2 daemon is running as. Set in the Icinga 2 sysconfig. RunAsGroup |**Read-write.** Defines the group the Icinga 2 daemon is running as. Set in the Icinga 2 sysconfig. MaxConcurrentChecks |**Read-write.** The number of max checks run simultaneously. Defaults to `512`. -ApiBindHost |**Read-write.** Overrides the default value for the ApiListener `bind_host` attribute. Not set by default. +ApiBindHost |**Read-write.** Overrides the default value for the ApiListener `bind_host` attribute. Defaults to `::`. ApiBindPort |**Read-write.** Overrides the default value for the ApiListener `bind_port` attribute. Not set by default. #### Application Runtime Constants diff --git a/lib/base/configuration.cpp b/lib/base/configuration.cpp index d163937e2..51486e41c 100644 --- a/lib/base/configuration.cpp +++ b/lib/base/configuration.cpp @@ -8,7 +8,7 @@ using namespace icinga; REGISTER_TYPE(Configuration); -String Configuration::ApiBindHost; +String Configuration::ApiBindHost{"::"}; String Configuration::ApiBindPort{"5665"}; bool Configuration::AttachDebugger{false}; String Configuration::CacheDir;