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:
c6aa749
)
ike-init: Enable redirection extension if client sends REDIRECT_SUPPORTED notify
author
Tobias Brunner
<tobias@strongswan.org>
Mon, 20 Apr 2015 12:59:08 +0000
(14:59 +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
1ff643d
..
8c62864
100644
(file)
--- a/
src/libcharon/sa/ikev2/tasks/ike_init.c
+++ b/
src/libcharon/sa/ikev2/tasks/ike_init.c
@@
-391,6
+391,10
@@
static void process_payloads(private_ike_init_t *this, message_t *message)
handle_supported_hash_algorithms(this, notify);
}
break;
handle_supported_hash_algorithms(this, notify);
}
break;
+ case REDIRECT_SUPPORTED:
+ this->ike_sa->enable_extension(this->ike_sa,
+ EXT_IKE_REDIRECTION);
+ break;
default:
/* other notifies are handled elsewhere */
break;
default:
/* other notifies are handled elsewhere */
break;