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:
3fca5bd
)
Support IKEv1 notifies in message_t.get_notify()
author
Martin Willi
<martin@revosec.ch>
Tue, 10 Jan 2012 16:09:20 +0000
(17:09 +0100)
committer
Martin Willi
<martin@revosec.ch>
Tue, 20 Mar 2012 16:31:35 +0000
(17:31 +0100)
src/libcharon/encoding/message.c
patch
|
blob
|
history
diff --git
a/src/libcharon/encoding/message.c
b/src/libcharon/encoding/message.c
index
99aca87
..
4ca119d
100644
(file)
--- a/
src/libcharon/encoding/message.c
+++ b/
src/libcharon/encoding/message.c
@@
-1142,7
+1142,8
@@
METHOD(message_t, get_notify, notify_payload_t*,
enumerator = create_payload_enumerator(this);
while (enumerator->enumerate(enumerator, &payload))
{
enumerator = create_payload_enumerator(this);
while (enumerator->enumerate(enumerator, &payload))
{
- if (payload->get_type(payload) == NOTIFY)
+ if (payload->get_type(payload) == NOTIFY ||
+ payload->get_type(payload) == NOTIFY_V1)
{
notify = (notify_payload_t*)payload;
if (notify->get_notify_type(notify) == type)
{
notify = (notify_payload_t*)payload;
if (notify->get_notify_type(notify) == type)