From: Michal 'vorner' Vaner Date: Thu, 31 Jan 2013 14:05:23 +0000 (+0100) Subject: [1924] Send the want_answer header from C++ X-Git-Tag: bind10-1.1.0beta1-release~104^2~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7919cceebc8fbeb56e7808133880aeba14b79217;p=thirdparty%2Fkea.git [1924] Send the want_answer header from C++ --- diff --git a/src/lib/cc/session.cc b/src/lib/cc/session.cc index ff8bfb174d..47923f023f 100644 --- a/src/lib/cc/session.cc +++ b/src/lib/cc/session.cc @@ -473,7 +473,7 @@ Session::unsubscribe(std::string group, std::string instance) { int Session::group_sendmsg(ConstElementPtr msg, std::string group, - std::string instance, std::string to, bool) + std::string instance, std::string to, bool want_answer) { LOG_DEBUG(logger, DBG_TRACE_DETAILED, CC_GROUP_SEND).arg(msg->str()). arg(group); @@ -486,6 +486,7 @@ Session::group_sendmsg(ConstElementPtr msg, std::string group, env->set("group", Element::create(group)); env->set("instance", Element::create(instance)); env->set("seq", Element::create(nseq)); + env->set("want_answer", Element::create(want_answer)); sendmsg(env, msg); return (nseq);