aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/tnc/tnccs/tnccs_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/tnc/tnccs/tnccs_manager.c')
-rw-r--r--src/libcharon/tnc/tnccs/tnccs_manager.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libcharon/tnc/tnccs/tnccs_manager.c b/src/libcharon/tnc/tnccs/tnccs_manager.c
index 609742dc8..6f120ea14 100644
--- a/src/libcharon/tnc/tnccs/tnccs_manager.c
+++ b/src/libcharon/tnc/tnccs/tnccs_manager.c
@@ -13,6 +13,8 @@
* for more details.
*/
+#define USE_TNC
+
#include "tnccs_manager.h"
#include <tnc/imv/imv_recommendations.h>
@@ -172,7 +174,7 @@ METHOD(tnccs_manager_t, create_instance, tnccs_t*,
}
METHOD(tnccs_manager_t, create_connection, TNC_ConnectionID,
- private_tnccs_manager_t *this, tnccs_t *tnccs,
+ private_tnccs_manager_t *this, tnccs_t *tnccs,
tnccs_send_message_t send_message, bool* request_handshake_retry,
recommendations_t **recs)
{
@@ -187,7 +189,7 @@ METHOD(tnccs_manager_t, create_connection, TNC_ConnectionID,
/* we assume a TNC Server needing recommendations from IMVs */
if (!charon->imvs)
{
- DBG1(DBG_TNC, "no IMV manager available!");
+ DBG1(DBG_TNC, "no IMV manager available!");
free(entry);
return 0;
}