NOTIFY error message types include 16383
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 29 Sep 2010 17:01:36 +0000 (19:01 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 29 Sep 2010 17:01:36 +0000 (19:01 +0200)
src/libcharon/sa/tasks/ike_auth.c

index 32a3118..b440ec8 100644 (file)
@@ -825,7 +825,7 @@ static status_t process_i(private_ike_auth_t *this, message_t *message)
                                        break;
                                default:
                                {
                                        break;
                                default:
                                {
-                                       if (type < 16383)
+                                       if (type <= 16383)
                                        {
                                                DBG1(DBG_IKE, "received %N notify error",
                                                         notify_type_names, type);
                                        {
                                                DBG1(DBG_IKE, "received %N notify error",
                                                         notify_type_names, type);