strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
099c0b1
)
ike-init: Send REDIRECT_SUPPORTED as initiator
author
Tobias Brunner
<tobias@strongswan.org>
Mon, 20 Apr 2015 13:16:10 +0000
(15:16 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Fri, 4 Mar 2016 15:02:58 +0000
(16:02 +0100)
src/libcharon/sa/ikev2/tasks/ike_init.c
patch
|
blob
|
history
diff --git
a/src/libcharon/sa/ikev2/tasks/ike_init.c
b/src/libcharon/sa/ikev2/tasks/ike_init.c
index
8c62864
..
0f9c45a
100644
(file)
--- a/
src/libcharon/sa/ikev2/tasks/ike_init.c
+++ b/
src/libcharon/sa/ikev2/tasks/ike_init.c
@@
-324,6
+324,11
@@
static bool build_payloads(private_ike_init_t *this, message_t *message)
send_supported_hash_algorithms(this, message);
}
}
+ /* notify other peer if we support redirection */
+ if (!this->old_sa && this->initiator)
+ {
+ message->add_notify(message, FALSE, REDIRECT_SUPPORTED, chunk_empty);
+ }
return TRUE;
}