aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-11-24 16:45:52 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-11-24 16:45:52 +0100
commiteba568563cfaf8debef3e675509248ef93c162d9 (patch)
tree765018fc31a446622bdaf6dac1838c146a6329af /src/pluto
parent2eeab939a0eea49167c72dd0f3ec5a26f1592620 (diff)
downloadstrongswan-eba568563cfaf8debef3e675509248ef93c162d9.tar.bz2
strongswan-eba568563cfaf8debef3e675509248ef93c162d9.tar.xz
changed error messages in the case of faulty esp and ike strings
Diffstat (limited to 'src/pluto')
-rw-r--r--src/pluto/connections.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/pluto/connections.c b/src/pluto/connections.c
index 53d2ca317..a24f29dd6 100644
--- a/src/pluto/connections.c
+++ b/src/pluto/connections.c
@@ -1059,15 +1059,14 @@ void add_connection(const whack_message_t *wm)
)
if (c->alg_info_esp)
{
- if (c->alg_info_esp->alg_info_cnt==0)
+ 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");
}
}
@@ -1090,15 +1089,14 @@ void add_connection(const whack_message_t *wm)
)
if (c->alg_info_ike)
{
- if (c->alg_info_ike->alg_info_cnt==0)
+ 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");
}
}