changed error messages in the case of faulty esp and ike strings

This commit is contained in:
Andreas Steffen
2009-11-24 16:45:52 +01:00
parent 2eeab939a0
commit eba568563c
+4 -6
View File
@@ -1061,13 +1061,12 @@ void add_connection(const whack_message_t *wm)
{
if (c->alg_info_esp->alg_info_cnt == 0)
{
loglog(RC_LOG_SERIOUS
, "got 0 transforms for esp=\"%s\"", wm->esp);
loglog(RC_LOG_SERIOUS, "got 0 esp transforms");
}
}
else
{
loglog(RC_LOG_SERIOUS, "esp string error");
loglog(RC_LOG_SERIOUS, "syntax error in esp string");
}
}
@@ -1092,13 +1091,12 @@ void add_connection(const whack_message_t *wm)
{
if (c->alg_info_ike->alg_info_cnt == 0)
{
loglog(RC_LOG_SERIOUS
, "got 0 transforms for ike=\"%s\"", wm->ike);
loglog(RC_LOG_SERIOUS, "got 0 ike transforms");
}
}
else
{
loglog(RC_LOG_SERIOUS, "ike string error:");
loglog(RC_LOG_SERIOUS, "syntax error in ike string");
}
}