]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix regression of carbon-ourname introduced in 58d7ad6bfb0d46b7617ca984b90feacae35752c8 10926/head
authorOtto <otto.moerbeek@open-xchange.com>
Fri, 29 Oct 2021 06:42:55 +0000 (08:42 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Fri, 29 Oct 2021 06:43:23 +0000 (08:43 +0200)
Noted by @mnordhoff

pdns/pdns_recursor.cc

index 871dbf7f4484c8e7fa81934dfe9cb58b9c9340a3..c449c1ed3f735ed9d34e3cfdfaf510eff68e53b7 100644 (file)
@@ -5214,7 +5214,7 @@ static int serviceMain(int argc, char*argv[])
   {
     CarbonConfig config;
     stringtok(config.servers, arg()["carbon-server"], ", ");
-    config.hostname = arg()["carbon-server"];
+    config.hostname = arg()["carbon-ourname"];
     config.instance_name = arg()["carbon-instance"];
     config.namespace_name = arg()["carbon-namespace"];
     g_carbonConfig.setState(std::move(config));