{
if (current_number != (expected_number + 1))
{
- DBG1(DBG_ENC, "proposal number is %d, excepted %d or %d",
+ DBG1(DBG_ENC, "proposal number is %d, expected %d or %d",
current_number, expected_number, expected_number + 1);
status = FAILED;
break;
* After receiving an EAP message "in", the peer/server processes
* the payload and creates a reply/subsequent request.
* The server side always returns NEED_MORE if another EAP message
- * is excepted from the client, SUCCESS if EAP exchange completed and
+ * is expected from the client, SUCCESS if EAP exchange completed and
* "out" is EAP_SUCCES, or FAILED if the EAP exchange failed with
* a EAP_FAILURE payload in "out". Anyway, a payload in "out" is always
* created.
}
else
{
- DBG1(DBG_IKE, "received message ID %d, excepted %d. Ignored",
+ DBG1(DBG_IKE, "received message ID %d, expected %d. Ignored",
mid, this->responding.mid);
}
}
}
else
{
- DBG1(DBG_IKE, "received message ID %d, excepted %d. Ignored",
+ DBG1(DBG_IKE, "received message ID %d, expected %d. Ignored",
mid, this->initiating.mid);
return SUCCESS;
}