Raise a bus alert when IKE message body parsing fails

This commit is contained in:
Martin Willi
2012-10-24 11:34:30 +02:00
parent 2b95ab7620
commit 418f4bc7a5
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -96,6 +96,9 @@ enum alert_t {
ALERT_INVALID_IKE_SPI,
/** received IKE message with invalid header, argument is message_t* */
ALERT_PARSE_ERROR_HEADER,
/** received IKE message with invalid body, argument is message_t*,
* followed by a status_t result returned by message_t.parse_body(). */
ALERT_PARSE_ERROR_BODY,
};
/**