Raise a bus alert when IKE message body parsing fails

This commit is contained in:
Martin Willi committed 2012-10-24 11:34:30 +02:00
1 parent 2b95ab7620
commit 418f4bc7a5
3 files changed
+7

No files matched your search

+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,
};
/**