diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-11-25 17:58:37 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-03-20 17:31:08 +0100 |
commit | 29a5e0707eb6cb1fd3f23b399af8f2fa0e7efe9b (patch) | |
tree | d977734a6da91c000558d648dcd401368b6cd3fe /src/libcharon/encoding/message.c | |
parent | b235e69cde38ae71e8f567de9b6387922cb6a41a (diff) | |
download | strongswan-29a5e0707eb6cb1fd3f23b399af8f2fa0e7efe9b.tar.bz2 strongswan-29a5e0707eb6cb1fd3f23b399af8f2fa0e7efe9b.tar.xz |
Handle unsupported IKEv1 exchange types more specifically.
Diffstat (limited to 'src/libcharon/encoding/message.c')
-rw-r--r-- | src/libcharon/encoding/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/encoding/message.c b/src/libcharon/encoding/message.c index 17adc5eb9..3b45b7608 100644 --- a/src/libcharon/encoding/message.c +++ b/src/libcharon/encoding/message.c @@ -1896,7 +1896,7 @@ METHOD(message_t, parse_body, status_t, DBG1(DBG_ENC, "no message rules specified for a %N %s", exchange_type_names, this->exchange_type, this->is_request ? "request" : "response"); - return PARSE_ERROR; + return NOT_SUPPORTED; } status = parse_payloads(this); |