no EAP identifier offset required in build() function
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 6 Apr 2011 15:33:01 +0000 (17:33 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 6 Apr 2011 15:33:01 +0000 (17:33 +0200)
src/libcharon/plugins/eap_peap/eap_peap_server.c

index a316332..4f0576f 100644 (file)
@@ -350,7 +350,7 @@ METHOD(tls_application_t, build, status_t,
 
                /* synchronize EAP message identifiers of inner protocol with outer */
                this->ph2_method->set_identifier(this->ph2_method,
-                                       this->ph1_method->get_identifier(this->ph1_method) + 1);
+                                       this->ph1_method->get_identifier(this->ph1_method));
 
                this->ph2_method->initiate(this->ph2_method, &this->out);
                this->start_phase2 = FALSE;