diff options
| author | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-07-13 18:58:58 +0200 |
|---|---|---|
| committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-07-13 18:58:58 +0200 |
| commit | 0ccdf898bb1cabcaa03a7c197505a30f6c804685 (patch) | |
| tree | 1603887b5323cd2e1e63edce89f1738f008330c5 /src/libcharon/plugins | |
| parent | ba53c2ef0da349ea77fc2a5fb2bf99290eae5960 (diff) | |
| download | strongswan-0ccdf898bb1cabcaa03a7c197505a30f6c804685.tar.bz2 strongswan-0ccdf898bb1cabcaa03a7c197505a30f6c804685.tar.xz | |
return offset value
Diffstat (limited to 'src/libcharon/plugins')
| -rw-r--r-- | src/libcharon/plugins/tnccs_20/messages/pb_error_msg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcharon/plugins/tnccs_20/messages/pb_error_msg.c b/src/libcharon/plugins/tnccs_20/messages/pb_error_msg.c index a90e734ec..09240408a 100644 --- a/src/libcharon/plugins/tnccs_20/messages/pb_error_msg.c +++ b/src/libcharon/plugins/tnccs_20/messages/pb_error_msg.c @@ -159,6 +159,7 @@ METHOD(pb_tnc_msg_t, process, status_t, { DBG1(DBG_TNC,"%N message is shorter than header size of %u bytes", pb_tnc_msg_type_names, PB_MSG_ERROR, ERROR_HEADER_SIZE); + *offset = 0; return FAILED; } |
