cleaning up
[strongswan.git] / src / charon / encoding / generator.c
index 07db45f..efa845b 100644 (file)
@@ -738,7 +738,7 @@ static void generate_payload (private_generator_t *this,payload_t *payload)
                        case SPIS:
                        case CONFIGURATION_ATTRIBUTE_VALUE:
                        case VID_DATA:
-                       case EAP_MESSAGE:
+                       case EAP_DATA:
                        {
                                u_int32_t payload_length_position_offset;
                                u_int16_t length_of_payload;
@@ -777,7 +777,7 @@ static void generate_payload (private_generator_t *this,payload_t *payload)
                                        case CONFIGURATION_ATTRIBUTE_VALUE:
                                                header_length = CONFIGURATION_ATTRIBUTE_HEADER_LENGTH;
                                                break;
-                                       case EAP_MESSAGE:
+                                       case EAP_DATA:
                                                header_length = EAP_PAYLOAD_HEADER_LENGTH;
                                                break;
                                        default: