log final TLS acknowledgement packet
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 8 Aug 2010 17:14:53 +0000 (19:14 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 8 Aug 2010 17:14:53 +0000 (19:14 +0200)
src/libcharon/plugins/eap_tls/eap_tls.c
src/libcharon/plugins/eap_ttls/eap_ttls.c

index 8871e1a..2313aac 100644 (file)
@@ -243,6 +243,10 @@ static eap_payload_t *read_buf(private_eap_tls_t *this, u_int8_t identifier)
                        DBG2(DBG_IKE, "sending TLS packet");
                }
        }
+       else
+       {
+               DBG2(DBG_IKE, "sending TLS acknowledgement packet");
+       }
        htoun16(&pkt->length, pkt_len);
        return eap_payload_create_data(chunk_create(buf, pkt_len));
 }
index 4c8dd56..fa1d283 100644 (file)
@@ -241,9 +241,13 @@ static eap_payload_t *read_buf(private_eap_ttls_t *this, u_int8_t identifier)
                                   this->output.len - this->outpos);
                        chunk_free(&this->output);
                        this->outpos = 0;
-                       DBG2(DBG_IKE, "sending TLS packet or last fragment");
+                       DBG2(DBG_IKE, "sending TLS packet");
                }
        }
+       else
+       {
+               DBG2(DBG_IKE, "sending TLS acknowledgement packet");
+       }
        htoun16(&pkt->length, pkt_len);
        return eap_payload_create_data(chunk_create(buf, pkt_len));
 }