Don't return FAILED if a CHILD_SA to delete could not be found
authorMartin Willi <martin@revosec.ch>
Mon, 2 Jan 2012 13:26:32 +0000 (14:26 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:31:31 +0000 (17:31 +0100)
src/libcharon/sa/ikev1/tasks/quick_delete.c

index a5f27c5..bb7d20b 100644 (file)
@@ -114,7 +114,7 @@ METHOD(task_t, build_i, status_t,
 
                return SUCCESS;
        }
-       return FAILED;
+       return ALREADY_DONE;
 }
 
 METHOD(task_t, process_i, status_t,