Do not ignore configs for IKEv1 in charon anymore

This commit is contained in:
Martin Willi
2012-03-20 17:30:43 +01:00
parent 558f79f76d
commit cf1772f685
6 changed files with 8 additions and 49 deletions
+1 -2
View File
@@ -489,8 +489,7 @@ METHOD(stroke_list_t, status, void,
charon->backends, NULL, NULL, NULL, NULL);
while (enumerator->enumerate(enumerator, &peer_cfg))
{
if (peer_cfg->get_ike_version(peer_cfg) != IKEV2 ||
(name && !streq(name, peer_cfg->get_name(peer_cfg))))
if (name && !streq(name, peer_cfg->get_name(peer_cfg)))
{
continue;
}