aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/tasks/child_delete.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2011-11-17 18:14:51 +0100
committerMartin Willi <martin@revosec.ch>2012-03-20 17:30:43 +0100
commitcf6cd5aa4b55a1f6e9df37acf466d229fc728ace (patch)
tree50e80dc6fdcb85c60cf02b98def932f3abd51d52 /src/libcharon/sa/tasks/child_delete.c
parent04ee2b7fed91b4430ba4870a2f1b98ee3e228f50 (diff)
downloadstrongswan-cf6cd5aa4b55a1f6e9df37acf466d229fc728ace.tar.bz2
strongswan-cf6cd5aa4b55a1f6e9df37acf466d229fc728ace.tar.xz
Added IKEv1 support to delete payload
Diffstat (limited to 'src/libcharon/sa/tasks/child_delete.c')
-rw-r--r--src/libcharon/sa/tasks/child_delete.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/sa/tasks/child_delete.c b/src/libcharon/sa/tasks/child_delete.c
index dc4b30dd3..e73074675 100644
--- a/src/libcharon/sa/tasks/child_delete.c
+++ b/src/libcharon/sa/tasks/child_delete.c
@@ -87,7 +87,7 @@ static void build_payloads(private_child_delete_t *this, message_t *message)
case PROTO_ESP:
if (esp == NULL)
{
- esp = delete_payload_create(PROTO_ESP);
+ esp = delete_payload_create(DELETE, PROTO_ESP);
message->add_payload(message, (payload_t*)esp);
}
esp->add_spi(esp, spi);
@@ -97,7 +97,7 @@ static void build_payloads(private_child_delete_t *this, message_t *message)
case PROTO_AH:
if (ah == NULL)
{
- ah = delete_payload_create(PROTO_AH);
+ ah = delete_payload_create(DELETE, PROTO_AH);
message->add_payload(message, (payload_t*)ah);
}
ah->add_spi(ah, spi);