log configured recommendation policy
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 14 Nov 2010 10:29:27 +0000 (11:29 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 14 Nov 2010 10:29:27 +0000 (11:29 +0100)
src/libcharon/plugins/tnc_imv/tnc_imv_manager.c

index f378510..3b96358 100644 (file)
@@ -282,6 +282,8 @@ imv_manager_t* tnc_imv_manager_create(void)
                                lib->settings->get_str(lib->settings,
                                        "charon.plugins.tnc-imv.recommendation_policy", "any"));
        this->policy = (policy != -1) ? policy : RECOMMENDATION_POLICY_NONE;
+       DBG1(DBG_TNC, "TNC recommendation policy is '%N'",
+                                  recommendation_policy_names, this->policy);
 
        return &this->public;
 }