]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1924] Send the want_answer header from C++
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 31 Jan 2013 14:05:23 +0000 (15:05 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 31 Jan 2013 14:05:23 +0000 (15:05 +0100)
src/lib/cc/session.cc

index ff8bfb174dcd5e8c6b1c5ea4d9886e1519a46410..47923f023f60b2b60540eecc748e4e56255c785f 100644 (file)
@@ -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);