diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-05-31 05:51:05 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-05-31 05:51:05 +0000 |
commit | 1df544d063bd534420da759892f5a3cd904eff04 (patch) | |
tree | 8d7ecf2e938c2f28bc303823cd1e650f68dc5343 /src | |
parent | 6848dac6033b4981f3896c2c7e00b74d6b22a2d9 (diff) | |
download | strongswan-1df544d063bd534420da759892f5a3cd904eff04.tar.bz2 strongswan-1df544d063bd534420da759892f5a3cd904eff04.tar.xz |
bug fixed circumventing an assertion in delete_connection when ikev1 is not set
Diffstat (limited to 'src')
-rw-r--r-- | src/pluto/connections.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pluto/connections.c b/src/pluto/connections.c index e05a1d0b5..d565fe629 100644 --- a/src/pluto/connections.c +++ b/src/pluto/connections.c @@ -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 { |