fix error-type range in parsing of NOTIFY payloads
This commit is contained in:
1 parent
fd8ad4198d
commit
30d8e8d04d
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user