Fixed EAP-TNC not to include extra EAP header and TNC flags
authorJouni Malinen <j@w1.fi>
Wed, 16 Jul 2008 23:17:37 +0000 (02:17 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 16 Jul 2008 23:17:37 +0000 (02:17 +0300)
commit6652b61cd4492f42e523b89effe97c92ac148681
treeb35f24f8e49dec6a3b75f98b7fd490baf3ee1e6f
parent93ef879f0fedcaed519345b5181690e6d0993c57
Fixed EAP-TNC not to include extra EAP header and TNC flags

The change to support fragmentation added extra function to generate the
EAP header, but forgot to remove the original code and ended up getting two
EAP headers and TNC flags field in the generated message. These header
fields need to be added only in the function that builds the final message
(and if necessary, fragments the data).
src/eap_peer/eap_tnc.c
src/eap_server/eap_tnc.c