ikev2: Update currently queued MOBIKE task
authorTobias Brunner <tobias@strongswan.org>
Mon, 29 Jan 2018 10:49:50 +0000 (11:49 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 9 Feb 2018 10:21:02 +0000 (11:21 +0100)
commit2d27c350f8efabacf93a582a03b23f735aa4c3c4
tree27dda65124bc1f51ba4c066465d89927ec8ac2ca
parent43bbe07036bada63ea629233c1c9249d987b9205
ikev2: Update currently queued MOBIKE task

Instead of destroying the new task and keeping the existing one we
update any already queued task, so we don't loose any work (e.g. if a
DPD task is active and address update is queued and we'd actually like
to queue a roam task).
src/libcharon/sa/ikev2/task_manager_v2.c