Fix debug output if responder selected invalid traffic selectors during QM

This commit is contained in:
Tobias Brunner
2012-12-13 15:27:28 +01:00
parent 45b5203f5d
commit 2990671748
+2 -2
View File
@@ -572,11 +572,11 @@ static bool get_ts(private_quick_mode_t *this, message_t *message)
if (this->initiator)
{
/* check if peer selection valid */
/* check if peer selection is valid */
if (!tsr->is_contained_in(tsr, this->tsr) ||
!tsi->is_contained_in(tsi, this->tsi))
{
DBG1(DBG_IKE, "peer selected invalid traffic selectors: ",
DBG1(DBG_IKE, "peer selected invalid traffic selectors: "
"%R for %R, %R for %R", tsi, this->tsi, tsr, this->tsr);
tsi->destroy(tsi);
tsr->destroy(tsr);