summaryrefslogtreecommitdiff
path: root/src/libimcv/pa_tnc/pa_tnc_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libimcv/pa_tnc/pa_tnc_msg.c')
-rw-r--r--src/libimcv/pa_tnc/pa_tnc_msg.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libimcv/pa_tnc/pa_tnc_msg.c b/src/libimcv/pa_tnc/pa_tnc_msg.c
index d9b441707..ea4dee950 100644
--- a/src/libimcv/pa_tnc/pa_tnc_msg.c
+++ b/src/libimcv/pa_tnc/pa_tnc_msg.c
@@ -226,7 +226,14 @@ METHOD(pa_tnc_msg_t, process, status_t,
reader, FALSE, &offset, this->encoding, &error);
if (!attr)
{
- goto err;
+ if (error)
+ {
+ goto err;
+ }
+ else
+ {
+ continue;
+ }
}
attr_value = attr->get_value(attr);
attr_type = attr->get_type(attr);