From: bert hubert Date: Tue, 2 Sep 2014 09:36:20 +0000 (+0200) Subject: fix up runtime setting of telemetry target w/o ourname X-Git-Tag: auth-3.4.0-rc2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03408d0864d3f8d51b48ea88ca891d8694e437e8;p=thirdparty%2Fpdns.git fix up runtime setting of telemetry target w/o ourname --- diff --git a/pdns/rec_channel_rec.cc b/pdns/rec_channel_rec.cc index b6a2e474f8..b3ec8826ee 100644 --- a/pdns/rec_channel_rec.cc +++ b/pdns/rec_channel_rec.cc @@ -259,8 +259,8 @@ string doSetCarbonServer(T begin, T end) string ret; ::arg().set("carbon-server")=*begin; ret="set carbon-server to '"+::arg()["carbon-server"]+"'\n"; + ++begin; if(begin != end) { - ++begin; ::arg().set("carbon-ourname")=*begin; ret+="set carbon-ourname to '"+*begin+"'\n"; }