bug fixed circumventing an assertion in delete_connection when ikev1 is not set
This commit is contained in:
@@ -310,7 +310,8 @@ delete_connection(struct connection *c, bool relations)
|
||||
/* find and delete c from the host pair list */
|
||||
if (c->host_pair == NULL)
|
||||
{
|
||||
list_rm(struct connection, hp_next, c, unoriented_connections);
|
||||
if (c->ikev1)
|
||||
list_rm(struct connection, hp_next, c, unoriented_connections);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user