From 0ccdf898bb1cabcaa03a7c197505a30f6c804685 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Wed, 13 Jul 2011 18:58:58 +0200 Subject: [PATCH] return offset value --- src/libcharon/plugins/tnccs_20/messages/pb_error_msg.c | 1 + 1 file changed, 1 insertion(+) 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; }