summaryrefslogtreecommitdiff
path: root/src/libimcv/pa_tnc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libimcv/pa_tnc')
-rw-r--r--src/libimcv/pa_tnc/pa_tnc_msg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libimcv/pa_tnc/pa_tnc_msg.c b/src/libimcv/pa_tnc/pa_tnc_msg.c
index 17c649dfd..5f5add704 100644
--- a/src/libimcv/pa_tnc/pa_tnc_msg.c
+++ b/src/libimcv/pa_tnc/pa_tnc_msg.c
@@ -299,8 +299,9 @@ METHOD(pa_tnc_msg_t, process_ietf_std_errors, bool,
error_code = error_attr->get_error_code(error_attr);
msg_info = error_attr->get_msg_info(error_attr);
- /* skip errors from non-IETF namespaces */
- if (error_code.vendor_id != PEN_IETF)
+ /* skip errors from non-IETF namespaces and non PA-TNC msg errors */
+ if (error_code.vendor_id != PEN_IETF ||
+ error_code.type > PA_ERROR_PA_TNC_MSG_ROOF)
{
continue;
}