Fixed return value of controller_t functions if callback returns FALSE.

This commit is contained in:
Tobias Brunner
2012-05-02 14:45:38 +02:00
parent 052e0a17b8
commit ecb5abd7fa
2 changed files with 11 additions and 10 deletions
+1
View File
@@ -182,6 +182,7 @@ METHOD(listener_t, listener_log, bool,
{
if (!this->callback(this->param, group, level, ike_sa, format, args))
{
this->status = NEED_MORE;
return listener_done(this);
}
}