eap_packet_t definition moved to libstrongswan/eap/eap.h
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 5 Apr 2011 16:04:45 +0000 (18:04 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 5 Apr 2011 16:04:45 +0000 (18:04 +0200)
src/libcharon/plugins/eap_ttls/eap_ttls_peer.c

index 29b0a93..96bd5ac 100644 (file)
@@ -64,17 +64,6 @@ struct private_eap_ttls_peer_t {
        eap_ttls_avp_t *avp;
 };
 
-/**
- * EAP packet format
- */
-typedef struct __attribute__((packed)) {
-       u_int8_t code;
-       u_int8_t identifier;
-       u_int16_t length;
-       u_int8_t type;
-       u_int8_t data;
-} eap_packet_t;
-
 #define MAX_RADIUS_ATTRIBUTE_SIZE      253
 
 METHOD(tls_application_t, process, status_t,