fix error-type range in parsing of NOTIFY payloads

This commit is contained in:
Jiri Bohac
2010-08-06 11:47:35 +02:00
committed by Martin Willi
parent fd8ad4198d
commit 30d8e8d04d
+1 -1
View File
@@ -468,7 +468,7 @@ static status_t process_i(private_ike_init_t *this, message_t *message)
}
default:
{
if (type < 16383)
if (type <= 16383)
{
DBG1(DBG_IKE, "received %N notify error",
notify_type_names, type);