diff options
author | Martin Willi <martin@revosec.ch> | 2011-02-08 10:53:10 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2011-02-08 11:03:10 +0100 |
commit | c6c7c7001cd0e53a81464a6376cad3bcf857cdd0 (patch) | |
tree | d06b6efac028af0a838c15e54a158fdd819ac52f /src/libcharon/plugins/tnccs_20/tnccs_20.c | |
parent | 3683c0424ff9fd54b991fbe1336719aa54ee021d (diff) | |
download | strongswan-c6c7c7001cd0e53a81464a6376cad3bcf857cdd0.tar.bz2 strongswan-c6c7c7001cd0e53a81464a6376cad3bcf857cdd0.tar.xz |
Add a prefix to the global visible tnc names to avoid name clashes, move to tncifimv
Diffstat (limited to 'src/libcharon/plugins/tnccs_20/tnccs_20.c')
-rw-r--r-- | src/libcharon/plugins/tnccs_20/tnccs_20.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libcharon/plugins/tnccs_20/tnccs_20.c b/src/libcharon/plugins/tnccs_20/tnccs_20.c index 7d39dc43e..429497c61 100644 --- a/src/libcharon/plugins/tnccs_20/tnccs_20.c +++ b/src/libcharon/plugins/tnccs_20/tnccs_20.c @@ -30,7 +30,7 @@ #include <daemon.h> #include <threading/mutex.h> #include <tnc/tncif.h> -#include <tnc/tncifimv_names.h> +#include <tnc/tncifimv.h> #include <tnc/tnccs/tnccs.h> typedef struct private_tnccs_20_t private_tnccs_20_t; @@ -165,7 +165,7 @@ static void handle_message(private_tnccs_20_t *this, pb_tnc_msg_t *msg) assess_msg = (pb_assessment_result_msg_t*)msg; result = assess_msg->get_assessment_result(assess_msg); DBG1(DBG_TNC, "PB-TNC assessment result is '%N'", - evaluation_result_names, result); + TNC_IMV_Evaluation_Result_names, result); break; } case PB_MSG_ACCESS_RECOMMENDATION: @@ -607,7 +607,8 @@ METHOD(tls_t, is_complete, bool, if (this->recs && this->recs->have_recommendation(this->recs, &rec, &eval)) { DBG2(DBG_TNC, "Final recommendation is '%N' and evaluation is '%N'", - action_recommendation_names, rec, evaluation_result_names, eval); + TNC_IMV_Action_Recommendation_names, rec, + TNC_IMV_Evaluation_Result_names, eval); return charon->imvs->enforce_recommendation(charon->imvs, rec); } |